Verified Commit e7bad52c authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: add export option for the main library

parent 847252e7
# #
# Copyright (c) 2015-2018 CNRS # Copyright (c) 2015-2019 CNRS INRIA
# Copyright (c) 2015 Wandercraft, 86 rue de Paris 91400 Orsay, France. # Copyright (c) 2015 Wandercraft, 86 rue de Paris 91400 Orsay, France.
# #
...@@ -43,6 +43,8 @@ IF(UNIX) ...@@ -43,6 +43,8 @@ IF(UNIX)
ADD_HEADER_GROUP(HEADERS) ADD_HEADER_GROUP(HEADERS)
ADD_SOURCE_GROUP(${PROJECT_NAME}_SOURCES) ADD_SOURCE_GROUP(${PROJECT_NAME}_SOURCES)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib) INSTALL(TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME}
DESTINATION lib)
ENDIF(UNIX) ENDIF(UNIX)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment