CMake: Drop policy CMP0028 OLD

This commit is contained in:
Paweł Bylica 2018-07-04 15:11:45 +02:00
parent 1dac6effed
commit 47eede069f
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF

View File

@ -7,10 +7,6 @@ macro (eth_policy)
# let cmake autolink dependencies on windows # let cmake autolink dependencies on windows
cmake_policy(SET CMP0020 NEW) cmake_policy(SET CMP0020 NEW)
# CMake 2.8.12 and lower allowed the use of targets and files with double
# colons in target_link_libraries,
cmake_policy(SET CMP0028 OLD)
if (${CMAKE_VERSION} VERSION_GREATER 3.0) if (${CMAKE_VERSION} VERSION_GREATER 3.0)
# fix MACOSX_RPATH # fix MACOSX_RPATH