Template for new projects. Can also be used to update cmake scripts in existing projects by merging the changes. This repository intentionally does not have a README.md (which would create conflicts in the projects using this template). For documentation, please follow this link:
This should fix problems with additional RPATH in e.g. test executables linking (directly or indirectly) against DOOCS libraries. The DOOCS library path was set via the linker flags in the imported targets and hence ending up always first in the resulting RPATH, even before the build directory. cmake seems to append the library paths to the RPATH of the target binaries later, not via the linker flags (no rpath flags are visible in the linker command line). Hence explicit RPATH handling is unnecessary and even bug prone.
This should fix problems with additional RPATH in e.g. test executables linking (directly or indirectly) against DOOCS libraries. The DOOCS library path was set via the linker flags in the imported targets and hence ending up always first in the resulting RPATH, even before the build directory. cmake seems to append the library paths to the RPATH of the target binaries later, not via the linker flags (no rpath flags are visible in the linker command line). Hence explicit RPATH handling is unnecessary and even bug prone.