Skip to content

Commit 3a63385

Browse files
committed
Clarify
1 parent 44c85e0 commit 3a63385

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
1212
)
1313

1414
if(YSTDLIB_CPP_IS_TOP_LEVEL)
15+
# If previously undefined, `BUILD_TESTING` will be set to ON.
1516
include(CTest)
1617
endif()
1718

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ An open-source C++ library developed and used at YScope.
88
Clone `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)
1212
add_subdirectory(/path/to/ystdlib-cpp EXCLUDE_FROM_ALL)
1313
target_link_libraries(<target_name> <link_options>
1414
ystdlib::<lib_1> ystdlib::<lib_2> ... ystdlib::<lib_N>

0 commit comments

Comments
 (0)