Commit d4261c3f authored by Matthias Möller's avatar Matthias Möller

remove warning by setting the property for all targets instead of setting the policy

refs #2251

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19511 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 00e85fdd
......@@ -121,8 +121,8 @@ 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
if (APPLE AND NOT (CMAKE_MAJOR_VERSION LESS 3))
set_target_properties (${target} PROPERTIES MACOSX_RPATH 1)
endif()
if (WIN32)
......
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