Skip to content

Commit

Permalink
rapids_export places the build export files in a location CPM can find.
Browse files Browse the repository at this point in the history
This makes finding `rapids_export` packages via `PROJECT_DIR` possible
  • Loading branch information
robertmaynard committed May 7, 2021
1 parent 693561c commit 54a1bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/export.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function(rapids_export type project_name)
install(DIRECTORY "${scratch_dir}/" DESTINATION "${install_location}")

else()
set(install_location "${PROJECT_BINARY_DIR}/${project_name}")
set(install_location "${PROJECT_BINARY_DIR}")
configure_package_config_file("${CMAKE_CURRENT_FUNCTION_LIST_DIR}/template/config.cmake.in"
"${install_location}/${project_name}-config.cmake"
INSTALL_DESTINATION "${install_location}")
Expand Down

0 comments on commit 54a1bd0

Please sign in to comment.