Skip to content

Commit

Permalink
Revert "Fix isssue jrl-umi3218#398 Do not call INSTALL(EXPORT ...) wh…
Browse files Browse the repository at this point in the history
…en having no targets but generates the Config.cmake file."

This reverts commit 5d602f8.
  • Loading branch information
gergondet authored and jcarpent committed Jun 23, 2020
1 parent de465c1 commit 9106bd6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,9 @@ install(

# Config
# * <prefix>/lib/cmake/Foo/FooTargets.cmake
if(${TARGETS_EXPORT_NAME})
install(
install(
EXPORT "${TARGETS_EXPORT_NAME}"
NAMESPACE "${namespace}"
DESTINATION "${CONFIG_INSTALL_DIR}"
)
endif(${TARGETS_EXPORT_NAME})

)
ENDMACRO(SETUP_PROJECT_PACKAGE_FINALIZE)

0 comments on commit 9106bd6

Please sign in to comment.