Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Add export
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Mar 29, 2021
1 parent c126291 commit 2552f29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,9 @@ if(TAOCPP_JSON_INSTALL)

install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES LICENSE DESTINATION ${TAOCPP_JSON_INSTALL_DOC_DIR})

export(EXPORT ${PROJECT_NAME}-targets
FILE ${taocpp-json_BINARY_DIR}/${PROJECT_NAME}-targets.cmake
NAMESPACE taocpp::
)
endif()

0 comments on commit 2552f29

Please sign in to comment.