#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)

This commit is contained in:
Andreas Schuh 2015-03-24 14:41:10 +00:00
parent 7f567f4f1e
commit 379d22daad

View 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")