aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-09-04 15:50:53 +1000
committerGitHub <noreply@github.com>2023-09-04 15:50:53 +1000
commita4e19af4d8f88d4b5ef9f02d4110a1268fc96e2b (patch)
tree91d1ba3c42d6d3d91c29de193b4919442b8bb8ce
parent320c7c2f5ab1f072132c4760af46f652d74f3f75 (diff)
parent423d9061c3e46b04044423977ab4b642799f8d48 (diff)
Merge pull request #23719 from fuzzard/cmake_fixcomments
[cmake] fix comments referencing incorrect names
-rw-r--r--cmake/modules/FindFmt.cmake2
-rw-r--r--cmake/modules/FindNFS.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/FindFmt.cmake b/cmake/modules/FindFmt.cmake
index 4c50291efb..223445c595 100644
--- a/cmake/modules/FindFmt.cmake
+++ b/cmake/modules/FindFmt.cmake
@@ -143,7 +143,7 @@ if(NOT TARGET fmt::fmt OR Fmt_FIND_REQUIRED)
REQUIRED_VARS FMT_LIBRARY FMT_INCLUDE_DIR
VERSION_VAR FMT_VERSION)
- # Check whether we already have tinyxml2::tinyxml2 target added to dep property list
+ # Check whether we already have fmt::fmt target added to dep property list
get_property(CHECK_INTERNAL_DEPS GLOBAL PROPERTY INTERNAL_DEPS_PROP)
list(FIND CHECK_INTERNAL_DEPS "fmt::fmt" FMT_PROP_FOUND)
diff --git a/cmake/modules/FindNFS.cmake b/cmake/modules/FindNFS.cmake
index b2233a170d..8608571d62 100644
--- a/cmake/modules/FindNFS.cmake
+++ b/cmake/modules/FindNFS.cmake
@@ -18,8 +18,8 @@ if(NOT TARGET libnfs::nfs)
# Search for cmake config. Suitable for all platforms including windows
find_package(libnfs CONFIG QUIET)
- # Check for existing TINYXML2. If version >= TINYXML2-VERSION file version, dont build
- # A corner case, but if a linux/freebsd user WANTS to build internal tinyxml2, build anyway
+ # Check for existing LIBNFS. If version >= LIBNFS-VERSION file version, dont build
+ # A corner case, but if a linux/freebsd user WANTS to build internal libnfs, build anyway
if((libnfs_VERSION VERSION_LESS ${${MODULE}_VER} AND ENABLE_INTERNAL_NFS) OR
((CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd) AND ENABLE_INTERNAL_NFS))