Knitschi / CPFCMake

A component of the CMakeProjectFramework. It provides the CMake code that implements a CI-pipeline.
MIT License
2 stars 2 forks source link

Allow privatly linked libraries in cpfAddCppPackage(). #48

Closed Knitschi closed 5 years ago

Knitschi commented 5 years ago

Currently all linked libraries are pulicly linked. We should allow private linkage as well.

Knitschi commented 5 years ago

The list of linked libraries is simply passed through to the target_linked_libraries() call, so it was already possible to use the PUBLIC, and PRIVATE keywords in that list. I extended the documentation to mention it.