diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-24 14:48:14 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-24 15:29:51 -0400 |
commit | 7d708e422397fb0ba8ac29855eb27964115e7217 (patch) | |
tree | 4bc144c393ff8c14d2a6bd443668088f4db5a189 /external/unbound | |
parent | cmake: fix up miniupnpc's define (diff) | |
download | monero-7d708e422397fb0ba8ac29855eb27964115e7217.tar.xz |
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.
Diffstat (limited to 'external/unbound')
-rw-r--r-- | external/unbound/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/external/unbound/CMakeLists.txt b/external/unbound/CMakeLists.txt index a81e80314..08f47cc17 100644 --- a/external/unbound/CMakeLists.txt +++ b/external/unbound/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.8) +cmake_minimum_required(VERSION 2.8.7) project(unbound C) @@ -163,18 +163,18 @@ add_library(unbound ${compat_src} ${libunbound_src}) target_link_libraries(unbound - PRIVATE + LINK_PRIVATE ${OPENSSL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) if (LIBEVENT2_FOUND) target_link_libraries(unbound - PRIVATE + LINK_PRIVATE ${LIBEVENT2_LIBRARIES}) endif () if (WIN32) target_link_libraries(unbound - PRIVATE + LINK_PRIVATE iphlpapi ws2_32) endif () |