Skip to content

Commit

Permalink
Upgrade slang version
Browse files Browse the repository at this point in the history
Fix local slang includes dir
  • Loading branch information
ccummingsNV committed Jul 26, 2024
1 parent 0b1d07e commit 8dcc6cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set(SGL_LOCAL_SLANG OFF CACHE BOOL "Use a local build of slang instead of downlo
set(SGL_LOCAL_SLANG_DIR "${CMAKE_SOURCE_DIR}/../slang" CACHE PATH "Path to a local slang build")
set(SGL_LOCAL_SLANG_BUILD_DIR "build/Debug" CACHE STRING "Build directory of the local slang build")

set(SLANG_VERSION "2024.1.28")
set(SLANG_VERSION "2024.1.33")
set(SLANG_URL_BASE "https://github.com/shader-slang/slang/releases/download/v${SLANG_VERSION}")

if(SGL_WINDOWS)
Expand All @@ -56,7 +56,7 @@ set(SLANG_INCLUDE_DIR ${slang_SOURCE_DIR}/include)

if(SGL_LOCAL_SLANG)
set(SLANG_DIR ${SGL_LOCAL_SLANG_DIR}/${SGL_LOCAL_SLANG_BUILD_DIR})
set(SLANG_INCLUDE_DIR ${SGL_LOCAL_SLANG_DIR})
set(SLANG_INCLUDE_DIR ${SGL_LOCAL_SLANG_DIR}/include)
endif()

if(SGL_WINDOWS)
Expand Down

0 comments on commit 8dcc6cf

Please sign in to comment.