Fix broken launcher build for windows.

c++11
cc9cii 10 years ago
parent de98d991b4
commit 0efe8f5465

@ -100,6 +100,9 @@ target_link_libraries(openmw-launcher
if (DESIRED_QT_VERSION MATCHES 4)
target_link_libraries(openmw-launcher ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY})
if(WIN32)
target_link_libraries(openmw-launcher ${QT_QTMAIN_LIBRARY})
endif(WIN32)
else()
qt5_use_modules(openmw-launcher Widgets Core)
endif()

Loading…
Cancel
Save