summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-08-23 18:21:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-23 18:21:49 (GMT)
commiteb86c99c4ed3bb9e1467c0eece9aac695967b333 (patch)
treed89185f25083881556ef14e2fc4c6d2f578cd4de /Tests
parent5936d4f2adeec64e0ff748b2c6c34f0436b19a97 (diff)
parentef0cd3dc40b0e22e99a05394463e316c98de09bf (diff)
downloadCMake-eb86c99c4ed3bb9e1467c0eece9aac695967b333.zip
CMake-eb86c99c4ed3bb9e1467c0eece9aac695967b333.tar.gz
CMake-eb86c99c4ed3bb9e1467c0eece9aac695967b333.tar.bz2
Merge topic 'fix-presets-test-symlinked-build-dir'
ef0cd3dc40 Tests: Fix CMakePresets test in unusual environments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7598
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CMakePresets/GoodNoSCache.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/GoodNoSCache.cmake b/Tests/RunCMake/CMakePresets/GoodNoSCache.cmake
index df58e72..d9e399f 100644
--- a/Tests/RunCMake/CMakePresets/GoodNoSCache.cmake
+++ b/Tests/RunCMake/CMakePresets/GoodNoSCache.cmake
@@ -1,4 +1,5 @@
include(${CMAKE_CURRENT_LIST_DIR}/TestVariable.cmake)
get_filename_component(_parent "${CMAKE_SOURCE_DIR}" DIRECTORY)
+file(REAL_PATH "${_parent}" _parent)
test_variable(CMAKE_BINARY_DIR "" "${_parent}/GoodNoSCachePrep-build")