diff options
Diffstat (limited to 'cmake.patch')
-rw-r--r-- | cmake.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake.patch b/cmake.patch new file mode 100644 index 000000000000..784b13d8e9b5 --- /dev/null +++ b/cmake.patch @@ -0,0 +1,11 @@ +--- FindOptiX.cmake.orig 2020-07-21 22:03:18.448748912 -0700 ++++ FindOptiX.cmake.new 2020-07-21 22:03:36.353142082 -0700 +@@ -29,7 +29,7 @@ + # Locate the OptiX distribution. Search relative to the SDK first, then look in the system. + + # Our initial guess will be within the SDK. +-set(OptiX_INSTALL_DIR "${CMAKE_SOURCE_DIR}/../" CACHE PATH "Path to OptiX installed location.") ++set(OptiX_INSTALL_DIR "${CMAKE_SOURCE_DIR}/../../" CACHE PATH "Path to OptiX installed location.") + + # The distribution contains only 64 bit libraries. Error when we have been mis-configured. + if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8) |