[PATCH] D29555: [CMake] Fix pthread handling for out-of-tree builds
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 5 04:32:37 PST 2017
mgorny added inline comments.
================
Comment at: cmake/modules/LLVMConfig.cmake.in:49
+if (NOT "@LLVM_PTHREAD_LIB@" STREQUAL "")
+ set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
+ set(THREADS_HAVE_PTHREAD_ARG Off)
----------------
Are you sure that this is safe to do for every package doing `find_package(LLVM)`?
Repository:
rL LLVM
https://reviews.llvm.org/D29555
More information about the llvm-commits
mailing list