From: Julian Ospald Date: Tue, 28 Aug 2012 08:37:22 +0000 (+0200) Subject: CMake: fix underlinking X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e77ff328eb30abe4270c9bd8bfe37c40a109333;p=simgear.git CMake: fix underlinking --- diff --git a/simgear/CMakeLists.txt b/simgear/CMakeLists.txt index a613805f..84c1d22b 100644 --- a/simgear/CMakeLists.txt +++ b/simgear/CMakeLists.txt @@ -55,7 +55,7 @@ if(SIMGEAR_SHARED) set_property(TARGET SimGearCore PROPERTY VERSION ${SIMGEAR_VERSION}) set_property(TARGET SimGearCore PROPERTY SOVERSION ${SIMGEAR_SOVERSION}) - target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY}) + target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY} ${CMAKE_THREAD_LIBS_INIT}) install(TARGETS SimGearCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(LIBSVN_FOUND)