[CMake] Avoid re-linking dependency of external shared lib in a new project.

felix felix.schwitzer at gmx.at
Wed Mar 11 18:08:37 EDT 2015


Not sure if I'm right, but your use case looks to me as an interface-library.
For that the docu says
"A primary use-case for INTERFACE libraries is header-only libraries."
see
http://www.cmake.org/cmake/help/v3.2/manual/cmake-buildsystem.7.html#interface-libraries




--
View this message in context: http://cmake.3232098.n2.nabble.com/Avoid-re-linking-dependency-of-external-shared-lib-in-a-new-project-tp7589911p7590000.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list