diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-08-23 18:21:33 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-23 18:21:49 (GMT) |
commit | eb86c99c4ed3bb9e1467c0eece9aac695967b333 (patch) | |
tree | d89185f25083881556ef14e2fc4c6d2f578cd4de /Tests | |
parent | 5936d4f2adeec64e0ff748b2c6c34f0436b19a97 (diff) | |
parent | ef0cd3dc40b0e22e99a05394463e316c98de09bf (diff) | |
download | CMake-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.cmake | 1 |
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") |