cmake: support 2.8.7

Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer
versions prefer PUBLIC and PRIVATE instead, but still support the LINK_
prefix.
This commit is contained in:
Ben Boeckel 2014-10-24 14:48:14 -04:00
parent 464c2805e5
commit 7d708e4223
22 changed files with 28 additions and 28 deletions

View file

@ -58,7 +58,7 @@ add_executable(coretests
${core_tests_sources}
${core_tests_headers})
target_link_libraries(coretests
PRIVATE
LINK_PRIVATE
cryptonote_core
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}