Commit 3548ae04 authored by Matthias Möller's avatar Matthias Möller

fix cmake version compare

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19455 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e93ad045
......@@ -127,7 +127,7 @@ macro (acg_set_target_props target)
SKIP_BUILD_RPATH 0
)
elseif (APPLE AND NOT ACG_PROJECT_MACOS_BUNDLE)
if (CMAKE_MAJOR_VERSION >= 3)
if (NOT (CMAKE_MAJOR_VERSION LESS 3) )
set_target_properties (
${target} PROPERTIES
INSTALL_RPATH "@executable_path/../${ACG_PROJECT_LIBDIR}"
......@@ -142,7 +142,7 @@ macro (acg_set_target_props target)
BUILD_WITH_INSTALL_RPATH 1
SKIP_BUILD_RPATH 0
)
endif(CMAKE_MAJOR_VERSION >= 3)
endif(NOT (CMAKE_MAJOR_VERSION LESS 3) )
elseif (NOT APPLE)
set_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