Compare commits

..

1 Commits

Author SHA1 Message Date
Gulliver
6bc5d0e8cd included crypto++ lib 2023-01-29 12:20:54 +01:00

View File

@ -46,14 +46,13 @@ if(NOT expected_POPULATED)
FetchContent_Populate(expected) FetchContent_Populate(expected)
endif(NOT expected_POPULATED) endif(NOT expected_POPULATED)
# add crypt++ (+cmake) library # add crypt++ (+cmake) library
set(CRYPTOPP_BUILD_TESTING Off) FetchContent_Declare(cryptopp
set(CRYPTOPP_INSTALL Off) GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
GIT_TAG CRYPTOPP_8_7_0)
if(NOT cryptopp_POPULATED) if(NOT cryptopp_POPULATED)
FetchContent_Declare(cryptopp
GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
GIT_TAG CRYPTOPP_8_7_0)
FetchContent_Populate(cryptopp) FetchContent_Populate(cryptopp)
add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR}) add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR})
endif(NOT cryptopp_POPULATED) endif(NOT cryptopp_POPULATED)
@ -66,7 +65,7 @@ set(CATCH_INSTALL_EXTRAS Off)
FetchContent_Declare( FetchContent_Declare(
Catch2 Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.3.1 GIT_TAG v3.2.0
) )
FetchContent_MakeAvailable(Catch2) FetchContent_MakeAvailable(Catch2)