Skip to content

Commit

Permalink
Fix GinkgoTargets.cmake with the correct installation paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcojean committed Dec 12, 2019
1 parent 96fc4a2 commit 70f5084
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/install_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ function(ginkgo_install)
install(FILES
"${Ginkgo_BINARY_DIR}/GinkgoConfig.cmake"
"${Ginkgo_BINARY_DIR}/GinkgoConfigVersion.cmake"
"${Ginkgo_BINARY_DIR}/GinkgoTargets.cmake"
"${Ginkgo_SOURCE_DIR}/cmake/hip_helpers.cmake"
DESTINATION "${GINKGO_INSTALL_CONFIG_DIR}"
)
install(EXPORT Ginkgo
NAMESPACE Ginkgo::
FILE GinkgoTargets.cmake
DESTINATION "${GINKGO_INSTALL_CONFIG_DIR}")

# Export package for use from the build tree
if (GINKGO_EXPORT_BUILD_DIR)
Expand Down

0 comments on commit 70f5084

Please sign in to comment.