summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-22 12:50:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-22 12:50:26 (GMT)
commitaae6a67e5c850f0f4dd0be4bb7d645d48995f24c (patch)
treead6eaf09a3f4ba7b7ea7b97480e672dc54f330b8
parente38783f16b5d41828a984551ee76ee575bc32b3b (diff)
parent641d97e03f01532ab11dfc3b861c6d875201a283 (diff)
downloadCMake-aae6a67e5c850f0f4dd0be4bb7d645d48995f24c.zip
CMake-aae6a67e5c850f0f4dd0be4bb7d645d48995f24c.tar.gz
CMake-aae6a67e5c850f0f4dd0be4bb7d645d48995f24c.tar.bz2
Merge topic 'FetchContent-doc-example' into release-3.24
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
-rw-r--r--Modules/FetchContent.cmake6
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