]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Fix the C++11 thread linking issues for unit tests as well.
[pulseview.git] / CMakeLists.txt
index 27859b3ad0674bcf48dbe16203229391dad0b82e..f334f9118c024018179cd8fb433d2525790cce39 100644 (file)
@@ -92,6 +92,8 @@ endif()
 
 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)
 
 #===============================================================================