]> sigrok.org Git - pulseview.git/commitdiff
Only check for libboost-test if tests are enabled.
authorUwe Hermann <redacted>
Sat, 13 Oct 2012 13:55:32 +0000 (15:55 +0200)
committerUwe Hermann <redacted>
Sat, 13 Oct 2012 13:55:32 +0000 (15:55 +0200)
CMakeLists.txt

index 9510a700bcf09f90cfb27d27a7f063ecd1bb7436..3b41bff7980c1d1dcd7ba28870d846e42a556d1e 100644 (file)
@@ -52,7 +52,12 @@ if(WIN32)
 endif()
 
 find_package(Qt4 REQUIRED)
+
+if(ENABLE_TESTS)
 find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED)
+else()
+find_package(Boost 1.46)
+endif()
 
 #===============================================================================
 #= Config Header