projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94236aa
)
Only check for libboost-test if tests are enabled.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 13 Oct 2012 13:55:32 +0000
(15:55 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 13 Oct 2012 13:55:32 +0000
(15:55 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9510a700bcf09f90cfb27d27a7f063ecd1bb7436..3b41bff7980c1d1dcd7ba28870d846e42a556d1e 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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