@@ -7,6 +7,7 @@ enable_language(CXX)
77set (CMAKE_CXX_STANDARD 17)
88set (CMAKE_EXPORT_COMPILE_COMMANDS On )
99
10+ set (CMAKE_POLICY_DEFAULT_CMP0077 NEW)
1011if (POLICY CMP0077)
1112 cmake_policy (SET CMP0077 NEW)
1213endif ()
@@ -52,16 +53,16 @@ if(NOT expected_POPULATED)
5253endif (NOT expected_POPULATED)
5354
5455# add crypt++ (+cmake) library
55- set (CRYPTOPP_BUILD_TESTING Off )
56- set (CRYPTOPP_INSTALL Off )
56+ # set(CRYPTOPP_BUILD_TESTING Off)
57+ # set(CRYPTOPP_INSTALL Off)
5758
58- if (NOT cryptopp_POPULATED)
59- FetchContent_Declare(cryptopp
60- GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
61- GIT_TAG CRYPTOPP_8_7_0 )
62- FetchContent_Populate(cryptopp)
63- add_subdirectory (${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR} )
64- endif (NOT cryptopp_POPULATED)
59+ # if(NOT cryptopp_POPULATED)
60+ # FetchContent_Declare(cryptopp
61+ # GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
62+ # GIT_TAG CRYPTOPP_8_7_0_1 )
63+ # FetchContent_Populate(cryptopp)
64+ # add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR})
65+ # endif(NOT cryptopp_POPULATED)
6566
6667include (CTest)
6768enable_testing ()
@@ -94,7 +95,7 @@ set(LIB_SOURCES
9495 src/big_int.hpp src/big_int.cpp )
9596
9697add_library (oc-mint-lib ${LIB_SOURCES} )
97- target_link_libraries (oc-mint-lib PUBLIC Crow::Crow cryptopp::cryptopp)
98+ target_link_libraries (oc-mint-lib PUBLIC Crow::Crow) # cryptopp::cryptopp)
9899target_include_directories (oc-mint-lib PUBLIC ${expected_SOURCE_DIR} /include src)
99100
100101add_executable (${PROJECT_NAME} src/main.cpp)
0 commit comments