Add slsReceiver and slsDetector targets to the export set (used by donwstream project)

set TARGETS_EXPORT_NAME if the project is built directly.
This commit is contained in:
Samuel Debionne
2018-09-07 10:55:03 +02:00
parent ef3e01b9bd
commit e13ecc8625
3 changed files with 14 additions and 3 deletions

View File

@ -90,6 +90,7 @@ if(DOXYGEN_FOUND)
endif()
install(TARGETS slsDetectorShared
EXPORT "${TARGETS_EXPORT_NAME}"
LIBRARY DESTINATION lib
PUBLIC_HEADER DESTINATION include
ARCHIVE DESTINATION lib)