Skip to content

Commit

Permalink
cmake: enable test by default
Browse files Browse the repository at this point in the history
note: this is the default behaviour when using include(CTest)
  • Loading branch information
Mizux committed Jun 29, 2021
1 parent 001faef commit d492118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif(NOT CMAKE_BUILD_TYPE)

# BUILD_TESTING is a standard CMake variable, but we declare it here to make it
# prominent in the GUI.
option(BUILD_TESTING "Enable test (depends on googletest)." OFF)
option(BUILD_TESTING "Enable test (depends on googletest)." ON)
# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to make
# it prominent in the GUI.
# cpu_features uses bit-fields which are - to some extends - implementation-defined (see https://en.cppreference.com/w/c/language/bit_field).
Expand Down

0 comments on commit d492118

Please sign in to comment.