From 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2018 19:58:07 +0000 Subject: gentoo resync : 24.02.2018 --- .../cmake-3.11.0_rc1-add_missing_pthread.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-util/cmake/files/cmake-3.11.0_rc1-add_missing_pthread.patch (limited to 'dev-util/cmake/files') diff --git a/dev-util/cmake/files/cmake-3.11.0_rc1-add_missing_pthread.patch b/dev-util/cmake/files/cmake-3.11.0_rc1-add_missing_pthread.patch new file mode 100644 index 000000000000..3a4c4352c6ff --- /dev/null +++ b/dev-util/cmake/files/cmake-3.11.0_rc1-add_missing_pthread.patch @@ -0,0 +1,21 @@ +--- cmake-3.11.0-rc1/Source/CMakeLists.txt ++++ cmake-3.11.0-rc1/Source/CMakeLists.txt +@@ -765,6 +765,7 @@ + ${CMAKE_LIBUV_LIBRARIES} + ${CMAKE_LIBRHASH_LIBRARIES} + ${CMake_KWIML_LIBRARIES} ++ pthread + ) + + if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc") +--- cmake-3.11.0-rc1/Tests/CMakeLib/CMakeLists.txt ++++ cmake-3.11.0-rc1/Tests/CMakeLib/CMakeLists.txt +@@ -30,7 +30,7 @@ + + create_test_sourcelist(CMakeLib_TEST_SRCS CMakeLibTests.cxx ${CMakeLib_TESTS}) + add_executable(CMakeLibTests ${CMakeLib_TEST_SRCS}) +-target_link_libraries(CMakeLibTests CMakeLib) ++target_link_libraries(CMakeLibTests CMakeLib pthread) + + set_property(TARGET CMakeLibTests PROPERTY C_CLANG_TIDY "") + set_property(TARGET CMakeLibTests PROPERTY CXX_CLANG_TIDY "") -- cgit v1.2.3