summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-12-19 04:25:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-02 18:41:49 (GMT)
commitd25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0 (patch)
treef0a1f688356d4f346279bacc9203c467a5bb76ac /Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
parent2a384e08cc0809fec75ebb20be585fb5a1bf591a (diff)
downloadCMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.zip
CMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.tar.gz
CMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.tar.bz2
OS X: Add CMP0042 to enable MACOSX_RPATH by default
Also adding documentation for CMAKE_MACOSX_RPATH, and improving documentation for MACOSX_RPATH.
Diffstat (limited to 'Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake')
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
index 57c3ed0..2e76ee0 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
+++ b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
@@ -1,5 +1,7 @@
enable_language(CXX)
+cmake_policy(SET CMP0042 NEW)
+
add_library(foo SHARED empty_vs6_1.cpp)
add_library(bar SHARED empty_vs6_2.cpp)
target_link_libraries(bar foo)