Skip to content

Commit

Permalink
Merge pull request #3 from robertmaynard/correct_location_of_build_ex…
Browse files Browse the repository at this point in the history
…port_files

rapids_export places the build export files in a location CPM can find.
  • Loading branch information
robertmaynard authored May 7, 2021
2 parents 693561c + 54a1bd0 commit b06c808
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 b06c808

Please sign in to comment.