1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:59:56 +00:00

Fix broken launcher build for windows.

This commit is contained in:
cc9cii 2015-06-14 14:42:08 +10:00
parent de98d991b4
commit 0efe8f5465

View file

@ -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()