mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-11 17:49:38 -06:00
Fix commit 9789f7d05e (GNUInstallDirs: Add internal helper to compute
specific defaults, 2025-03-28, v4.1.0-rc1~384^2~3) to avoid updating
explicitly-specified cache entries on the first run. Do not reset the
default value until at least the second run, during which we have
`_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX` already defined.
Fixes: #27211
15 lines
351 B
CMake
15 lines
351 B
CMake
set(CMAKE_SIZEOF_VOID_P 8)
|
|
set(CMAKE_LIBRARY_ARCHITECTURE "arch")
|
|
include(GNUInstallDirs)
|
|
set(dirs
|
|
BINDIR
|
|
INCLUDEDIR
|
|
LIBDIR
|
|
)
|
|
foreach(dir ${dirs})
|
|
message(STATUS "CMAKE_INSTALL_${dir}='$CACHE{CMAKE_INSTALL_${dir}}'")
|
|
endforeach()
|
|
foreach(dir ${dirs})
|
|
message(STATUS "CMAKE_INSTALL_FULL_${dir}='${CMAKE_INSTALL_FULL_${dir}}'")
|
|
endforeach()
|