mirror of
https://github.com/OpenCoin/oc-mint-cpp.git
synced 2024-12-22 23:59:41 +01:00
Compare commits
2 Commits
6bc5d0e8cd
...
7d3066572c
Author | SHA1 | Date | |
---|---|---|---|
|
7d3066572c | ||
|
a2747b6934 |
@ -46,13 +46,14 @@ 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)
|
||||||
|
set(CRYPTOPP_INSTALL Off)
|
||||||
|
|
||||||
|
if(NOT cryptopp_POPULATED)
|
||||||
FetchContent_Declare(cryptopp
|
FetchContent_Declare(cryptopp
|
||||||
GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
|
GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
|
||||||
GIT_TAG CRYPTOPP_8_7_0)
|
GIT_TAG CRYPTOPP_8_7_0)
|
||||||
|
|
||||||
if(NOT cryptopp_POPULATED)
|
|
||||||
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)
|
||||||
@ -65,7 +66,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.2.0
|
GIT_TAG v3.3.1
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(Catch2)
|
FetchContent_MakeAvailable(Catch2)
|
||||||
|
Loading…
Reference in New Issue
Block a user