|
|
@ -99,12 +99,11 @@ elseif ("${TARGET_PLATFORM}" STREQUAL "w64") |
|
|
|
target_link_libraries(${EXECUTABLE} boost_thread_win32-mt-s) |
|
|
|
target_link_libraries(${EXECUTABLE} Qt5PlatformSupport) |
|
|
|
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS) |
|
|
|
elseif (UNIX) |
|
|
|
else () |
|
|
|
target_link_libraries(${EXECUTABLE} boost_system) |
|
|
|
target_link_libraries(${EXECUTABLE} boost_filesystem) |
|
|
|
find_package(Threads REQUIRED) |
|
|
|
target_link_libraries(${EXECUTABLE} ${CMAKE_THREAD_LIBS_INIT}) |
|
|
|
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ) |
|
|
|
install( TARGETS ${EXECUTABLE} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) |
|
|
|
endif () |
|
|
|
|
|
|
|