#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Tue, 24 Mar 2015 14:41:10 +0000 (14:41 +0000)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Tue, 24 Mar 2015 14:41:10 +0000 (14:41 +0000)
CMakeLists.txt

index ca11b1d..ce01214 100644 (file)
@@ -1,5 +1,9 @@
 cmake_minimum_required (VERSION 2.8.4 FATAL_ERROR)
 
+if (POLICY CMP0042)
+  cmake_policy (SET CMP0042 NEW)
+endif ()
+
 # ----------------------------------------------------------------------------
 # includes
 set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")