From 7ea914f11930e3ec55fcb9c87b8c891fd32e269c Mon Sep 17 00:00:00 2001 From: Alexander Mock Date: Mon, 4 Dec 2023 16:55:29 +0100 Subject: [PATCH] changed find optix script --- cmake/FindOptiX.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/FindOptiX.cmake b/cmake/FindOptiX.cmake index bb2baca..40e25ac 100644 --- a/cmake/FindOptiX.cmake +++ b/cmake/FindOptiX.cmake @@ -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