]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
cmake, INSTALL: Bump the Boost requirement to >= 1.55.
[pulseview.git] / CMakeLists.txt
index 0b28850258cdb88d56a1eab520a0d6500a7bdeb1..d84f0427d6eabb7d6f183fb85272a623e103405f 100644 (file)
@@ -97,11 +97,11 @@ else()
        find_package(Qt4 REQUIRED QtCore QtGui QtSvg)
 endif()
 
+set(BOOSTCOMPS filesystem serialization system thread)
 if(ENABLE_TESTS)
-       find_package(Boost 1.53 COMPONENTS filesystem system thread unit_test_framework REQUIRED)
-else()
-       find_package(Boost 1.53 COMPONENTS filesystem system thread REQUIRED)
+       list(APPEND BOOSTCOMPS unit_test_framework)
 endif()
+find_package(Boost 1.55 COMPONENTS ${BOOSTCOMPS} 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.