summaryrefslogtreecommitdiff
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-24 18:01:33 +0000
committerKitware Robot <kwrobot@kitware.com>2022-02-24 13:01:40 -0500
commit3de53510ac53c81e55e57a48742ff93f79909119 (patch)
tree393f1ba43bb0963abbb46fe975890967a70151c8 /Modules/Platform
parent31101e0fde347118aad8be18f825192a66f990d0 (diff)
parent005c7dc9e7c0789b13d1b8c4f793ff68c78334b2 (diff)
downloadcmake-3de53510ac53c81e55e57a48742ff93f79909119.tar.gz
Merge topic 'ghs_fix_rtos_dir'
005c7dc9e7 GHS: Store full path of Integrity OS directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7017
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/GHS-MULTI-Determine.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/GHS-MULTI-Determine.cmake b/Modules/Platform/GHS-MULTI-Determine.cmake
index 96f0162470..67464f7733 100644
--- a/Modules/Platform/GHS-MULTI-Determine.cmake
+++ b/Modules/Platform/GHS-MULTI-Determine.cmake
@@ -88,8 +88,8 @@ if(_ghs_os_dir AND NOT DEFINED GHS_OS_DIR)
# Select latest? of matching candidates
if(GHS_CANDIDATE_OS_DIRS)
list(SORT GHS_CANDIDATE_OS_DIRS)
- list(GET GHS_CANDIDATE_OS_DIRS -1 GHS_OS_DIR)
- string(CONCAT _ghs_os_dir ${GHS_OS_ROOT} "/" ${GHS_OS_DIR})
+ list(GET GHS_CANDIDATE_OS_DIRS -1 _ghs_os_dir)
+ string(CONCAT _ghs_os_dir ${GHS_OS_ROOT} "/" ${_ghs_os_dir})
endif()
endif()
endif()