summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-03-30 06:55:47 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-03-31 22:32:28 (GMT)
commit91b9d356087505dd7eacdf65b3a4d13f5271785e (patch)
treef1dbb0f1d749792e4ca10129b4c44de1e54fcd56
parent079dfe194b76f1c636235341fdf00d0a421adb48 (diff)
downloadCMake-91b9d356087505dd7eacdf65b3a4d13f5271785e.zip
CMake-91b9d356087505dd7eacdf65b3a4d13f5271785e.tar.gz
CMake-91b9d356087505dd7eacdf65b3a4d13f5271785e.tar.bz2
CMakePackageConfigHelpers: Remove unused variable
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index fe5cc21..dfe1ec7 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -522,13 +522,11 @@ function(generate_apple_platform_selection_file _output_file)
endif()
set(_else ELSE)
- set(_have_relative 0)
foreach(_opt IN LISTS _config_file_options _else)
if(_gpsf_${_opt})
set(_config_file "${_gpsf_${_opt}}")
if(NOT IS_ABSOLUTE "${_config_file}")
string(PREPEND _config_file [[${PACKAGE_PREFIX_DIR}/]])
- set(_have_relative 1)
endif()
set(_branch_${_opt} "include(\"${_config_file}\")")
elseif(_gpsf_ERROR_VARIABLE)