1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +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()