File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ option(YAML_CPP_BUILD_CONTRIB "Enable yaml-cpp contrib in library" ON)
2525option (YAML_CPP_BUILD_TOOLS "Enable parse tools" ON )
2626option (YAML_BUILD_SHARED_LIBS "Build yaml-cpp shared library" ${BUILD_SHARED_LIBS} )
2727option (YAML_CPP_INSTALL "Enable generation of yaml-cpp install targets" ${YAML_CPP_MAIN_PROJECT} )
28- option (YAML_CPP_FORMAT_SOURCE "Format source" ON )
28+ option (YAML_CPP_FORMAT_SOURCE "Format source" ${YAML_CPP_MAIN_PROJECT} )
2929cmake_dependent_option(YAML_CPP_BUILD_TESTS
3030 "Enable yaml-cpp tests" OFF
3131 "BUILD_TESTING;YAML_CPP_MAIN_PROJECT" OFF )
3232cmake_dependent_option(YAML_MSVC_SHARED_RT
3333 "MSVC: Build yaml-cpp with shared runtime libs (/MD)" ON
3434 "CMAKE_SYSTEM_NAME MATCHES Windows" OFF )
35-
35+
3636if (YAML_CPP_FORMAT_SOURCE)
3737 find_program (YAML_CPP_CLANG_FORMAT_EXE NAMES clang-format)
3838endif ()
You can’t perform that action at this time.
0 commit comments