[Cmake-commits] CMake branch, next, updated. v3.5.0-rc1-73-g72f135c
Brad King
brad.king at kitware.com
Mon Feb 8 10:46:24 EST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 72f135c659170d195788f289dc4e37862c905f46 (commit)
via a1ad098dc8fc5204fc797b92faed517337816b82 (commit)
from 1e2e67cd2fe3ee08b37afef37facae8fb366821c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=72f135c659170d195788f289dc4e37862c905f46
commit 72f135c659170d195788f289dc4e37862c905f46
Merge: 1e2e67c a1ad098
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Feb 8 10:46:23 2016 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Feb 8 10:46:23 2016 -0500
Merge topic 'fix-install-EXPORT-crash' into next
a1ad098d Tests: Avoid OS X 10.5 limitation warning in RunCMake.install test
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a1ad098dc8fc5204fc797b92faed517337816b82
commit a1ad098dc8fc5204fc797b92faed517337816b82
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Feb 8 10:44:43 2016 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Feb 8 10:44:43 2016 -0500
Tests: Avoid OS X 10.5 limitation warning in RunCMake.install test
The EXPORT-OldIFace test case uses install(TARGETS) and so generates a
warning:
CMake Warning in CMakeLists.txt:
WARNING: Target "foo" has runtime paths which cannot be changed during
install. To change runtime paths, OS X version 10.6 or newer is required.
Therefore, runtime paths will not be changed when installing.
CMAKE_BUILD_WITH_INSTALL_RPATH may be used to work around this limitation.
Set CMAKE_BUILD_WITH_INSTALL_RPATH to avoid the warning since we do not
need to run the binaries from the build tree anyway.
diff --git a/Tests/RunCMake/install/EXPORT-OldIFace.cmake b/Tests/RunCMake/install/EXPORT-OldIFace.cmake
index 8dfb46b..033f684 100644
--- a/Tests/RunCMake/install/EXPORT-OldIFace.cmake
+++ b/Tests/RunCMake/install/EXPORT-OldIFace.cmake
@@ -1,4 +1,5 @@
enable_language(C)
+set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
add_subdirectory(EXPORT-OldIFace)
add_library(foo SHARED empty.c)
target_link_libraries(foo bar)
-----------------------------------------------------------------------
Summary of changes:
Tests/RunCMake/install/EXPORT-OldIFace.cmake | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list