comparison src/CMakeLists.txt @ 33:50dae38a5641

Fix windows build link order
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 11 Apr 2016 14:38:01 +0200
parents 927794e3cc52
children 11618dd45312
comparison
equal deleted inserted replaced
32:ad54c98cb8d8 33:50dae38a5641
46 if (WIN32) 46 if (WIN32)
47 get_target_property(_loc Qt5::Widgets LOCATION) 47 get_target_property(_loc Qt5::Widgets LOCATION)
48 get_filename_component(_qtpath ${_loc} PATH) 48 get_filename_component(_qtpath ${_loc} PATH)
49 set(EXTRA_STATIC_LIBS 49 set(EXTRA_STATIC_LIBS
50 -L${_qtpath} 50 -L${_qtpath}
51 -lpcre16
52 Qt5::QWindowsIntegrationPlugin 51 Qt5::QWindowsIntegrationPlugin
53 -lwinspool -lshlwapi 52 -lwinspool -lshlwapi
54 -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm 53 -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm
55 -lglu32 -lopengl32 -lgdi32 -lQt5Core -lole32 -lmstask -luuid -lws2_32 54 -lglu32 -lopengl32 -lgdi32 -lQt5Core -lole32 -lmstask -luuid -lws2_32
56 -ladvapi32 -lshell32 -luser32 -lkernel32 ) 55 -ladvapi32 -lshell32 -luser32 -lkernel32 -lqtfreetype -lqtharfbuzzng -lpcre16)
57 endif() 56 endif()
58 57
59 target_link_libraries(${PROJECT_NAME} 58 target_link_libraries(${PROJECT_NAME}
60 Qt5::Widgets 59 Qt5::Widgets
61 Qt5::PrintSupport 60 Qt5::PrintSupport
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)