Skip to content

Commit 724d481

Browse files
committed
Clarify YAML_CPP_SUPPORT_MERGE_KEYS CMake option usage
It doesn't need to be defined when building the library, since all the related code is in its header files.
1 parent 0c3a4f4 commit 724d481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ enable_testing()
4141
option(YAML_CPP_BUILD_TESTS "Enable testing" ON)
4242
option(YAML_CPP_BUILD_TOOLS "Enable parse tools" ON)
4343
option(YAML_CPP_BUILD_CONTRIB "Enable contrib stuff in library" ON)
44-
option(YAML_CPP_SUPPORT_MERGE_KEYS "Build with support for YAML merge keys ('<<'). Also requires '#define YAML_CPP_SUPPORT_MERGE_KEYS' when linking." OFF)
44+
option(YAML_CPP_SUPPORT_MERGE_KEYS "Support YAML merge keys ('<<') in yaml-cpp's executable targets. Use '#define YAML_CPP_SUPPORT_MERGE_KEYS' instead when linking from another project." OFF)
4545

4646
## Build options
4747
# --> General

0 commit comments

Comments
 (0)