CMake: give libcalamares IMPORTED includes

- Set the interface-include path for libcalamares, so that
  linking to it (as one would from an external repo) pulls in
  all the includes.
This commit is contained in:
Adriaan de Groot 2020-06-10 02:01:59 +02:00
parent 9039e15bdf
commit 14ff681106

View File

@ -163,6 +163,7 @@ set_target_properties( calamares
PROPERTIES
VERSION ${CALAMARES_VERSION_SHORT}
SOVERSION ${CALAMARES_VERSION_SHORT}
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_INSTALL_FULL_INCLUDEDIR}/libcalamares
)
calamares_automoc( calamares )