forked from AcademySoftwareFoundation/OpenShadingLanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add options to use static Cuda libraries (AcademySoftwareFound…
…ation#1772) * New build option `CUDA_PREFER_STATIC_LIBS` tries to use Cuda's static libraries if they can be found. * Remove code related to nvrt library, it's no longer needed in OptiX 7. * Changes in checked_find_package to allow a PREFER_STATIC_LIBS optional argument. Turns out we didn't use this, but I think it's useful functionality to keep now that I've written it. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
15 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