fix(build): tests are relatives to last cmake project call
Description
- Use
${CMAKE_BINARY_DIR}
instead of${PROJECT_BINARY_DIR}
to force executable to be produced in ./bin folder. - Also testing if safe-svfb-run isn't already copied in ./bin
- early return in CppUnitConfig.cmake if CppUnit is already FOUND.
Closes #740 (closed)
How to test it?
Use sight in another project and try to create unit-tests.