I read crypto++ wiki https://cryptopp.com/wiki/CMake#Using_the_library_in_other_projects
I tried to add the following code in my cmake project:
find_package(CryptoPP REQUIRED)
target_link_libraries(YOUR_TARGET_NAME cryptopp-shared)
However, I got the following error message:
By not providing "FindCryptoPP.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CryptoPP",
but CMake did not find one.
Could not find a package configuration file provided by "CryptoPP" with any
of the following names:
CryptoPPConfig.cmake
cryptopp-config.cmake
Add the installation prefix of "CryptoPP" to CMAKE_PREFIX_PATH or set
"CryptoPP_DIR" to a directory containing one of the above files. If
"CryptoPP" provides a separate development package or SDK, be sure it has
been installed.
It seems that "FindCryptoPP.cmake" not found. Does the file provide by cmake or crypto++?
I'm using cmake 3.6.1 and crypto++ 5.6.3.
I read crypto++ wiki https://cryptopp.com/wiki/CMake#Using_the_library_in_other_projects
I tried to add the following code in my cmake project:
However, I got the following error message:
It seems that "FindCryptoPP.cmake" not found. Does the file provide by cmake or crypto++?
I'm using cmake 3.6.1 and crypto++ 5.6.3.