aboutsummaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r--DefineOptions.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake
index 17abbd15..d82588cb 100644
--- a/DefineOptions.cmake
+++ b/DefineOptions.cmake
@@ -14,3 +14,6 @@ option(WITH_BENCHMARKS "Build benchmarks tools" OFF)
if (WITH_TESTING)
set(WITH_STATIC_LIB ON)
endif (WITH_TESTING)
+if(WITH_BENCHMARKS)
+ set(WITH_TESTING ON)
+endif(WITH_BENCHMARKS) \ No newline at end of file