This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake/install: add THRUST_ENABLE_INSTALL_RULES option
cmake/install: mv ThrustAddSubdir handling to after project() We want to add the option to install in this case, which requires the paths set by project() thrust: separate out determination of whether Thrust is top-level project This determines whether an install target will be provided. If Thrust is built as top-level project, the install target will be provided by default, as before. If Thrust is built as a sub-project, the install target will, by default, not be provided, again maintaining existing behavior. So what's new here is that via this option a downstream project can enable install of thrust if it is used via `add_subdirectory`. Update CONTRIBUTING.md with new CMake option docs.
- Loading branch information
1 parent
e68ea76
commit 7714602
Showing
2 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters