Skip to content

Commit

Permalink
POAC_BUILD_TESTING should also be used on other build types (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui authored Dec 19, 2022
1 parent 3b22d3c commit 056fc80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ endif ()

option(VERBOSE "Use verbose output" OFF) # -DVERBOSE=ON
option(CPM_USE_LOCAL_PACKAGES "Try to use local packages" ON)
option(POAC_BUILD_TESTING "Enable build tests" ON)

include(CMakeDependentOption)
cmake_dependent_option(
POAC_CLANG_TIDY "Enable clang-tidy when Debug mode" ON
"CMAKE_BUILD_TYPE STREQUAL Debug" OFF
)
cmake_dependent_option(
POAC_BUILD_TESTING "Enable build tests" ON
"CMAKE_BUILD_TYPE STREQUAL Debug" OFF
)
cmake_dependent_option(
POAC_ENABLE_COVERAGE "Enable coverage" OFF
"POAC_BUILD_TESTING" OFF
Expand Down

0 comments on commit 056fc80

Please sign in to comment.