summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-17 11:54:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-17 11:54:16 (GMT)
commit5e5a21aadd1468e81ff7795c352898f2e115ae0e (patch)
tree797572eb6236cee6c26a2e313d89bebf3f8a830d /Modules
parent970af1ca5ccb478f6dbc00cb5f975e650f05cb70 (diff)
parent6988ddf8ac0830759acab6612c12df6d2f62287e (diff)
downloadCMake-5e5a21aadd1468e81ff7795c352898f2e115ae0e.zip
CMake-5e5a21aadd1468e81ff7795c352898f2e115ae0e.tar.gz
CMake-5e5a21aadd1468e81ff7795c352898f2e115ae0e.tar.bz2
Merge topic 'CMakePackageConfigHelpers-ARCH_INDEPENDENT' into release-3.26
6988ddf8ac WriteBasicConfigVersionFile: Fix regression in ARCH_INDEPENDENT check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8337
Diffstat (limited to 'Modules')
-rw-r--r--Modules/WriteBasicConfigVersionFile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/WriteBasicConfigVersionFile.cmake b/Modules/WriteBasicConfigVersionFile.cmake
index 1c5ecd5..4db725c 100644
--- a/Modules/WriteBasicConfigVersionFile.cmake
+++ b/Modules/WriteBasicConfigVersionFile.cmake
@@ -49,7 +49,7 @@ function(WRITE_BASIC_CONFIG_VERSION_FILE _filename)
if(NOT CVF_ARCH_INDEPENDENT)
set(CVF_ARCH_INDEPENDENT_CHECK "
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
-if(CMAKE_SIZEOF_VOID_P STREQUAL \"\" OR \"${CMAKE_SIZEOF_VOID_P}\" STREQUAL \"\")
+if(\"\${CMAKE_SIZEOF_VOID_P}\" STREQUAL \"\" OR \"${CMAKE_SIZEOF_VOID_P}\" STREQUAL \"\")
return()
endif()