Commit 00e85fdd authored by Matthias Möller's avatar Matthias Möller
Browse files

- enables MACOS_RPATH for all targets with cmake >= 3.0 (like intended in newer cmake versions)

- fix warnings

refs #2251

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19510 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 90fbac17
......@@ -120,6 +120,11 @@ endif ()
# sets default build properties
macro (acg_set_target_props target)
if (NOT (CMAKE_MAJOR_VERSION LESS 3))
cmake_policy(SET CMP0042 NEW) #enables MACOSX_RPATH for all targets per default
endif()
if (WIN32)
set_target_properties (
${target} PROPERTIES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment