From 57680b5dbc9b4e9648352ee473b3c32edfa9e48b Mon Sep 17 00:00:00 2001 From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net> Date: Sun, 9 Sep 2018 20:28:10 +0700 Subject: [PATCH] [*] Build errors --- CMakeLists.txt | 2 +- monero_crypto/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98dad76..fcd7324 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ add_definitions ("${monero_crypto_DEFINITIONS}") add_library(${PROJECT_NAME} STATIC ${DAP_CHAIN_CRYPTO_SRCS} ${DAP_CHAIN_CRYPTO_HEADERS}) - +target_include_directories(dap_chain_crypto INTERFACE .) target_link_libraries(dap_chain_crypto dap_core dap_crypto dap_chain monero_crypto) set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE) diff --git a/monero_crypto/CMakeLists.txt b/monero_crypto/CMakeLists.txt index 1662c77..ff4e1c3 100644 --- a/monero_crypto/CMakeLists.txt +++ b/monero_crypto/CMakeLists.txt @@ -397,6 +397,8 @@ endif() add_library(${PROJECT_NAME} STATIC ${monero_crypto_sources}) +target_include_directories(monero_crypto INTERFACE .) + set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE) -- GitLab