diff options
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/GnuradioConfig.cmake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/Modules/GnuradioConfig.cmake.in b/cmake/Modules/GnuradioConfig.cmake.in index 388cac4e9b..f59e74b8b9 100644 --- a/cmake/Modules/GnuradioConfig.cmake.in +++ b/cmake/Modules/GnuradioConfig.cmake.in @@ -34,7 +34,9 @@ set(BOOST_REQUIRED_COMPONENTS thread ) -set(ENABLE_TESTING @ENABLE_TESTING@ CACHE BOOL "Enable testing support") +if (NOT ENABLE_TESTING) + set(ENABLE_TESTING @ENABLE_TESTING@ CACHE BOOL "Enable testing support") +endif() if(ENABLE_TESTING) list(APPEND BOOST_REQUIRED_COMPONENTS unit_test_framework) |