Skip to content

Commit

Permalink
Merge pull request #34 from ilya-lavrenov/export-target
Browse files Browse the repository at this point in the history
Added export() for build tree
  • Loading branch information
dmatveev committed Sep 6, 2023
2 parents 0ee020d + 9cbc154 commit 19bfb58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/ade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ configure_package_config_file(
NO_SET_AND_CHECK_MACRO
NO_CHECK_REQUIRED_COMPONENTS_MACRO)

export(TARGETS ade FILE "${CMAKE_BINARY_DIR}/adeTargets.cmake")

install(FILES "${CMAKE_BINARY_DIR}/adeConfig.cmake"
"${CMAKE_BINARY_DIR}/adeConfigVersion.cmake"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ade" COMPONENT dev)

0 comments on commit 19bfb58

Please sign in to comment.