diff --git a/secretsmanager/CMakeLists.txt b/secretsmanager/CMakeLists.txt index 18861e3b3e..5a260e6e12 100644 --- a/secretsmanager/CMakeLists.txt +++ b/secretsmanager/CMakeLists.txt @@ -21,12 +21,14 @@ else() find_package(cryptopp REQUIRED) endif() -target_link_libraries(secretsmanager PUBLIC util ${CRYPTOPP_LIBRARIES}) -target_include_directories(secretsmanager PUBLIC include ${CRYPTOPP_INCLUDE_DIRS} ${bftengine_SOURCE_DIR}/include/bftengine) +target_include_directories(secretsmanager PUBLIC include ${CRYPTOPP_INCLUDE_DIRS}) +target_include_directories(secretsmanager PUBLIC /concord-bft/bftengine/include/bftengine) target_include_directories(secretsmanager PRIVATE src) +target_link_libraries(secretsmanager PUBLIC util ${CRYPTOPP_LIBRARIES}) +target_include_directories(secretsmanager_shared PUBLIC include ${CRYPTOPP_INCLUDE_DIRS}) +target_include_directories(secretsmanager_shared PUBLIC /concord-bft/bftengine/include/bftengine) target_link_libraries(secretsmanager_shared PUBLIC util_shared ${CRYPTOPP_LIBRARIES}) -target_include_directories(secretsmanager_shared PUBLIC include ${CRYPTOPP_INCLUDE_DIRS} ${bftengine_SOURCE_DIR}/include/bftengine) if (USE_CRYPTOPP_RSA) message(STATUS "Using Crypto++ RSA/ECDSA signature/verification")