Skip to content

Commit fb19c66

Browse files
committed
Fix option
1 parent f1623ed commit fb19c66

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,9 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
1515

1616
if(YSTDLIB_CPP_IS_TOP_LEVEL)
1717
include(CTest)
18+
option(YSTDLIB_CPP_BUILD_TESTING "Build the testing tree for ystdlib-cpp." ON)
1819
endif()
1920

20-
cmake_dependent_option(
21-
YSTDLIB_CPP_BUILD_TESTING
22-
"Build the testing tree for ystdlib-cpp."
23-
ON
24-
"YSTDLIB_CPP_IS_TOP_LEVEL"
25-
OFF
26-
)
27-
2821
cmake_dependent_option(
2922
YSTDLIB_CPP_ENABLE_TESTS
3023
"Enable unit tests."

0 commit comments

Comments
 (0)