diff options
author | Brad King <brad.king@kitware.com> | 2021-02-03 00:27:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-03 17:26:58 (GMT) |
commit | e017ba046ccab62fcc67e7cf8fc858e991c1d3e7 (patch) | |
tree | 134567db3c1b3b4fab193a75a06413bdf003fe8f /Tests/RunCMake/file-RPATH | |
parent | 56fc4a325f08465b725b08b3975cd51bdd2305c8 (diff) | |
download | CMake-e017ba046ccab62fcc67e7cf8fc858e991c1d3e7.zip CMake-e017ba046ccab62fcc67e7cf8fc858e991c1d3e7.tar.gz CMake-e017ba046ccab62fcc67e7cf8fc858e991c1d3e7.tar.bz2 |
AIX: Enable XCOFF editing to replace RPATH on installation
Avoid relinking before installation.
Diffstat (limited to 'Tests/RunCMake/file-RPATH')
-rw-r--r-- | Tests/RunCMake/file-RPATH/RunCMakeTest.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/file-RPATH/XCOFF.cmake | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-RPATH/RunCMakeTest.cmake b/Tests/RunCMake/file-RPATH/RunCMakeTest.cmake index 11e90bb..eb7b497 100644 --- a/Tests/RunCMake/file-RPATH/RunCMakeTest.cmake +++ b/Tests/RunCMake/file-RPATH/RunCMakeTest.cmake @@ -3,3 +3,7 @@ include(RunCMake) if(HAVE_ELF_H) run_cmake_command(ELF ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/ELF.cmake) endif() + +if(CMAKE_SYSTEM_NAME STREQUAL "AIX") + run_cmake_command(XCOFF ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/XCOFF.cmake) +endif() diff --git a/Tests/RunCMake/file-RPATH/XCOFF.cmake b/Tests/RunCMake/file-RPATH/XCOFF.cmake new file mode 100644 index 0000000..b570920 --- /dev/null +++ b/Tests/RunCMake/file-RPATH/XCOFF.cmake @@ -0,0 +1,7 @@ +set(names + xcoff32.bin + xcoff64.bin + ) +set(format XCOFF) + +include(${CMAKE_CURRENT_LIST_DIR}/Common.cmake) |