Browse Source

disabled tests by default

thomas 4 years ago
parent
commit
3e5e2e8285
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -4,7 +4,7 @@ project(software-watchdog)
 # set(CMAKE_VERBOSE_MAKEFILE ON)
 set(CMAKE_BUILD_TYPE DEBUG)
 
-option(BUILD_TESTING "Build tests for software-watchdog." ON)
+option(BUILD_TESTS "Build tests" OFF)
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
@@ -12,7 +12,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
 
 # link_directories(${LIBRARY_OUTPUT_DIRECTORY})
 add_subdirectory(src)
-if(BUILD_TESTING)
+if(BUILD_TESTS)
     enable_testing()
     add_subdirectory(tests)
 endif()