Skip to content

Commit

Permalink
changed find optix script
Browse files Browse the repository at this point in the history
  • Loading branch information
amock committed Dec 4, 2023
1 parent ff085b5 commit 7ea914f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/FindOptiX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ pkg_check_modules(OptiX QUIET optix)

# set(OptiX_ROOT_DIR "" CACHE PATH "Root of Optix installation")

if(DEFINED ENV{OptiX_INCLUDE_DIR})
message(STATUS "FindOptiX: Found path to optix headers in environment variable 'OptiX_INCLUDE_DIR'. ")
set(OptiX_INCLUDE_DIR_ENV "$ENV{OptiX_INCLUDE_DIR}")
if(DEFINED ENV{OPTIX_INCLUDE_DIR})
message(STATUS "FindOptiX: Found path to optix headers in environment variable 'OPTIX_INCLUDE_DIR'. ")
set(OptiX_INCLUDE_DIR_ENV "$ENV{OPTIX_INCLUDE_DIR}")

# INCLUDE
find_path(OptiX_INCLUDE_DIR
Expand Down

0 comments on commit 7ea914f

Please sign in to comment.