summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-23 13:18:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-23 13:19:49 (GMT)
commitc786164fe04480fef246aafd1e1c38d04a0f73fa (patch)
treebb97c263d17fb3be19ef629f845def8fc90b22df /Source
parent1f082f2b608a05d0a8aa1c34b36827783ce20117 (diff)
parent94eee5e683b80e0ffd8e0c4fd3a45b03f0f37b18 (diff)
downloadCMake-c786164fe04480fef246aafd1e1c38d04a0f73fa.zip
CMake-c786164fe04480fef246aafd1e1c38d04a0f73fa.tar.gz
CMake-c786164fe04480fef246aafd1e1c38d04a0f73fa.tar.bz2
Merge topic 'std-thread-link'
94eee5e6 CMakeLib: Link to system thread libraries to support std::thread Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Chabrowski <dantezstudio@gmail.com> Merge-request: !1789
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index e7c0732..a0010a2 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -765,6 +765,7 @@ target_link_libraries(CMakeLib cmsys
${CMAKE_LIBUV_LIBRARIES}
${CMAKE_LIBRHASH_LIBRARIES}
${CMake_KWIML_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc")