From 9e77ff328eb30abe4270c9bd8bfe37c40a109333 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 28 Aug 2012 10:37:22 +0200 Subject: [PATCH] CMake: fix underlinking --- simgear/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5