diff --git a/CMakeLists.txt b/CMakeLists.txt index 98dad7670b0e361b98dcff4e4153771af913621f..fcd732442b0ed2ad77d3ebd13c32062fca0eefca 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 1662c77c62c3494360cbe70b6e4edad5ff921acb..ff4e1c32e2b2e9de7f131c0360209484cf53f88a 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)