diff options
author | Brad King <brad.king@kitware.com> | 2022-06-22 12:50:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-22 12:50:27 (GMT) |
commit | 47be79e382f31583dd2bfdf12c5465cfc791386f (patch) | |
tree | e479c8e93d0ecb676562d415c2b33c87ad197e96 /Modules | |
parent | 83f62cc15ab15138d9e65abb1172366d458cde47 (diff) | |
parent | 641d97e03f01532ab11dfc3b861c6d875201a283 (diff) | |
download | CMake-47be79e382f31583dd2bfdf12c5465cfc791386f.zip CMake-47be79e382f31583dd2bfdf12c5465cfc791386f.tar.gz CMake-47be79e382f31583dd2bfdf12c5465cfc791386f.tar.bz2 |
Merge topic 'FetchContent-doc-example'
641d97e03f FetchContent: Fix example code in documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !7393
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FetchContent.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index d0a90f4..c4c3a93 100644 --- a/Modules/FetchContent.cmake +++ b/Modules/FetchContent.cmake @@ -831,7 +831,7 @@ that file if something else hasn't already done so. if("${GTEST_BOTH_LIBRARIES}" STREQUAL "") set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES}) endif() - ]=] + ]=]) endif() Projects will also likely be using ``find_package(GTest)`` rather than @@ -850,7 +850,7 @@ a typical ``find_package(GTest)`` call. [=[ include(CMakeFindDependencyMacro) find_dependency(googletest) - ]=] + ]=]) endif() if(NOT EXISTS ${CMAKE_FIND_PACKAGE_REDIRECTS_DIR}/gtest-config-version.cmake AND @@ -861,7 +861,7 @@ a typical ``find_package(GTest)`` call. if(NOT PACKAGE_VERSION_COMPATIBLE) include(${CMAKE_FIND_PACKAGE_REDIRECTS_DIR}/googletestConfigVersion.cmake OPTIONAL) endif() - ]=] + ]=]) endif() Overriding Where To Find CMakeLists.txt |