-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix weird edge cases when trying to
find_package(Celeritas)
(#1586)
* Set CMake policies in CeleritasConfig * Export cached "hints" as cached variables * Xerces-C workaround no longer needed This was a confluence of a policy overwrite from PTL, CMake policy CMP0102 (where `mark_as_advanced` writes an empty cache variable if a local variable is named), and `find_path` which has some funny logic for pulling from cache/local values (and maybe CMP0126 as well). * Normalized QUIET/REQUIRED in configure script * Improve thrust finding * Revert "Improve thrust finding" This reverts commit 02e4f17. * Require thrust if thrust found --------- Co-authored-by: Ben Morgan <[email protected]>
- Loading branch information
1 parent
c9e643a
commit 81ff8a7
Showing
2 changed files
with
18 additions
and
9 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