https://github.com/Kitware/CMake
Raw File
Tip revision: 25d2850c190ba915a7527a29dda6efe61be901f0 authored by Brad King on 21 March 2024, 13:32:22 UTC
CMake 3.29.0
Tip revision: 25d2850
configure_symlinked_common.cmake
# Ensure that the symlink tree is set up correctly.
if(NOT CMAKE_SOURCE_DIR STREQUAL "$ENV{CI_PROJECT_DIR}/work/cmake")
  message(FATAL_ERROR "Expected value of CMAKE_SOURCE_DIR:\n  $ENV{CI_PROJECT_DIR}/work/cmake\nActual value:\n  ${CMAKE_SOURCE_DIR}")
endif()
if(NOT CMAKE_BINARY_DIR STREQUAL "$ENV{CI_PROJECT_DIR}/work/build")
  message(FATAL_ERROR "Expected value of CMAKE_BINARY_DIR:\n  $ENV{CI_PROJECT_DIR}/work/build\nActual value:\n  ${CMAKE_BINARY_DIR}")
endif()
back to top