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,11 +90,11 @@ endif ()
install(TARGETS slsReceiverShared slsReceiver
EXPORT "${TARGETS_EXPORT_NAME}"
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PUBLIC_HEADER DESTINATION include)
install(FILES ${ZMQ_STATIC_ARCHIVE}
DESTINATION lib)
DESTINATION lib)