When cryptopp-cmake is used as a subproject, the build directory and the cryptopp-cmake source directory paths are pointing to locations in the host project and not correctly pointing to the cryptopp-cmake project.
Make the paths specific by using CMAKE_CURRENT_BINARY_DIR and CMAKE_CURRENT_SOURCE_DIR.
When cryptopp-cmake is used as a subproject, the build directory and the cryptopp-cmake source directory paths are pointing to locations in the host project and not correctly pointing to the cryptopp-cmake project.
Make the paths specific by using
CMAKE_CURRENT_BINARY_DIR
andCMAKE_CURRENT_SOURCE_DIR
.