File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
1212)
1313
1414if (YSTDLIB_CPP_IS_TOP_LEVEL)
15+ # If previously undefined, `BUILD_TESTING` will be set to ON.
1516 include (CTest)
1617endif ()
1718
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ An open-source C++ library developed and used at YScope.
88Clone ` ystdlib-cpp ` into your project. Then, in your project's ` CMakeLists.txt ` , add the following:
99``` cmake
1010# Uncomment the next line if you do not want to build ystdlib-cpp's unit tests.
11- # set (YSTDLIB_CPP_BUILD_TESTING OFF)
11+ # option (YSTDLIB_CPP_BUILD_TESTING "" OFF)
1212add_subdirectory(/path/to/ystdlib-cpp EXCLUDE_FROM_ALL)
1313target_link_libraries(<target_name> <link_options>
1414 ystdlib::<lib_1> ystdlib::<lib_2> ... ystdlib::<lib_N>
You can’t perform that action at this time.
0 commit comments