|
@ -1,7 +1,9 @@ |
|
|
cmake_policy(SET CMP0015 NEW) |
|
|
cmake_policy(SET CMP0015 NEW) |
|
|
|
|
|
# let cmake autolink dependencies on windows |
|
|
|
|
|
cmake_policy(SET CMP0020 NEW) |
|
|
# this policy was introduced in cmake 3.0 |
|
|
# this policy was introduced in cmake 3.0 |
|
|
# remove if, once 3.0 will be used on unix |
|
|
# remove if, once 3.0 will be used on unix |
|
|
if (APPLE) |
|
|
if (${CMAKE_MAJOR_VERSION} GREATER 2) |
|
|
# old policy do not use MACOSX_RPATH |
|
|
# old policy do not use MACOSX_RPATH |
|
|
cmake_policy(SET CMP0042 OLD) |
|
|
cmake_policy(SET CMP0042 OLD) |
|
|
cmake_policy(SET CMP0043 OLD) |
|
|
cmake_policy(SET CMP0043 OLD) |
|
|