mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Previously REAL_PATH would collapse paths before resolving any symlinks so if `..` crossed a symlink the output from `REAL_PATH` would be wrong. It looked like REAL_PATH did this by mistake since it was a side-effect of ensuring we had an absolute path before resolving symlinks.
8 lines
143 B
CMake
8 lines
143 B
CMake
include(RunCMake)
|
|
|
|
if(NOT CMAKE_GENERATOR_NO_COMPILER_ENV)
|
|
run_cmake(CMP0152-WARN)
|
|
run_cmake(CMP0152-OLD)
|
|
run_cmake(CMP0152-NEW)
|
|
endif()
|