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:
parent
de98d991b4
commit
0efe8f5465
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue