Skip to content

Commit e372988

Browse files
committed
debug
Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent 09441f6 commit e372988

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmake/modules/FindOptiX.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ endmacro()
5555
if (OPTIX_INCLUDE_DIR)
5656
# Pull out the API version from optix.h
5757
file(STRINGS ${OPTIX_INCLUDE_DIR}/optix.h OPTIX_VERSION_LINE LIMIT_COUNT 1 REGEX "define OPTIX_VERSION")
58+
message(STATUS "OPTIX_VERSION_LINE = '${OPTIX_VERSION_LINE}'")
5859
string(REGEX MATCH "([0-9]+)" OPTIX_VERSION_STRING "${OPTIX_VERSION_LINE}")
5960
math(EXPR OPTIX_VERSION_MAJOR "${OPTIX_VERSION_STRING}/10000")
6061
math(EXPR OPTIX_VERSION_MINOR "(${OPTIX_VERSION_STRING}%10000)/100")

0 commit comments

Comments
 (0)