projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the C++11 thread linking issues for unit tests as well.
[pulseview.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 27859b3ad0674bcf48dbe16203229391dad0b82e..f334f9118c024018179cd8fb433d2525790cce39 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-92,6
+92,8
@@
endif()
find_package(Boost 1.42 COMPONENTS filesystem system REQUIRED)
find_package(Boost 1.42 COMPONENTS filesystem system REQUIRED)
+# Find the platform's thread library (needed for C++11 threads).
+# This will set ${CMAKE_THREAD_LIBS_INIT} to the correct, OS-specific value.
find_package(Threads REQUIRED)
#===============================================================================
find_package(Threads REQUIRED)
#===============================================================================