]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
cmake: Add boost-thread as explicit dependency.
[pulseview.git] / CMakeLists.txt
index 812176ec6e8b52d17e1729c23d8e9beadbd82e77..a510bd6a2b3c8a39b93d516523e36b60e992ccf4 100644 (file)
@@ -46,14 +46,14 @@ pkg_check_modules(PKGDEPS REQUIRED
        libsigrok>=0.2.0
 )
 
+find_package(Qt4 REQUIRED)
+
 # On Windows/MinGW we explicitly point cmake to the Boost directory.
 if(WIN32)
        set(BOOST_ROOT /usr/local)
 endif()
 
-find_package(Qt4 REQUIRED)
-
-find_package(Boost 1.46)
+find_package(Boost 1.46 COMPONENTS system thread)
 
 #===============================================================================
 #= Config Header