diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-12-10 18:53:49 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-12-10 18:53:49 +0100 |
commit | e1d56cf6ec859285e5b736a5057b32b7453e0c54 (patch) | |
tree | f276a0a3a80959362239b6d4e03b5fa2bf46ef0b | |
parent | 0a294217d8769b5e4e3066157711c059cf3c73b5 (diff) | |
download | libgit2-cmn/rpath-policy.tar.gz |
CMake: activate the rpath policy for OSXcmn/rpath-policy
This activates the newer policy of using rpath in the build and shuts
CMake up about it when we're building.
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 40a52bc01..f5b02ecfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ PROJECT(libgit2 C) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_POLICY(SET CMP0015 NEW) +CMAKE_POLICY(SET CMP0042 NEW) # Add find modules to the path SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/") |