mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
ENH: CMake does not need RPATHs at all for its own executables. Disable them to avoid relinking during installation.
This commit is contained in:
parent
8d9a997beb
commit
ae62f66033
@ -11,6 +11,10 @@ SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}")
|
||||
|
||||
SET(BUILD_SHARED_LIBS OFF)
|
||||
|
||||
# The CMake executables do not need any rpath to run in the build or
|
||||
# install tree.
|
||||
SET(CMAKE_SKIP_RPATH ON CACHE INTERNAL "CMake does not need RPATHs.")
|
||||
|
||||
SET(CMAKE_DATA_DIR "/share/CMake" CACHE STRING
|
||||
"Install location for data (relative to prefix).")
|
||||
SET(CMAKE_DOC_DIR "/doc/CMake" CACHE STRING
|
||||
|
Loading…
Reference in New Issue
Block a user