From 5cb8de224c58cd4002be8bab433ee40d9648b1dc Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Sun, 23 Aug 2020 23:46:31 -0400 Subject: [PATCH] Relax minimum cmake requirement from 3.11 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0206dd0..463b26f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,8 +141,8 @@ foreach (LIB ${MONERO_LIBRARIES}) endforeach() add_library(monero::libraries INTERFACE IMPORTED) -target_include_directories(monero::libraries SYSTEM - INTERFACE +set_property(TARGET monero::libraries PROPERTY + INTERFACE_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIR} "${MONERO_BUILD_DIR}/generated_include" "${MONERO_SOURCE_DIR}/contrib/epee/include" @@ -150,8 +150,8 @@ target_include_directories(monero::libraries SYSTEM "${MONERO_SOURCE_DIR}/external/rapidjson/include" "${MONERO_SOURCE_DIR}/src" ) -target_link_libraries(monero::libraries - INTERFACE +set_property(TARGET monero::libraries PROPERTY + INTERFACE_LINK_LIBRARIES ${CMAKE_DL_LIBS} ${Boost_CHRONO_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}