externals: Fix mismatched CryptoPP definitions between compile time and header use. (#6314)

This commit is contained in:
Steveice10
2023-02-25 02:58:38 -08:00
committed by GitHub
parent cc5ea21f1c
commit 8b116aaa04
2 changed files with 11 additions and 0 deletions

View File

@@ -379,6 +379,11 @@ endif()
enable_testing()
add_subdirectory(externals)
# See externals/CMakeLists.txt
foreach(def ${CRYPTOPP_COMPILE_DEFINITIONS})
add_definitions(-D${def})
endforeach()
# Boost
if (USE_SYSTEM_BOOST)
find_package(Boost 1.70.0 COMPONENTS serialization REQUIRED)