Skip to content

Commit

Permalink
Compilation issue:
Browse files Browse the repository at this point in the history
- Due to path unavailability in ${bftengine_SOURCE_DIR} in secretsmanager/CMakeLists.txt.
  • Loading branch information
Pankaj committed Jul 27, 2022
1 parent ee855e6 commit 6c91764
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions secretsmanager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6c91764

Please sign in to comment.