The crypto++ unit test program needs to be running in the directory where the TestData and the TestVectors are located. We need to make sure that the working directory of the test program is always the same no matter if the project is a master project or a sub-project.
Use ${PROJECT_BINARY_DIR} instead of ${CMAKE_BINARY_DIR}.
The crypto++ unit test program needs to be running in the directory where the
TestData
and theTestVectors
are located. We need to make sure that the working directory of the test program is always the same no matter if the project is a master project or a sub-project.Use
${PROJECT_BINARY_DIR}
instead of${CMAKE_BINARY_DIR}
.