Skip to content

Commit

Permalink
Merge pull request #370 from robquill/master
Browse files Browse the repository at this point in the history
Fix example CMake code for generating headers from GLSL code
  • Loading branch information
axsaucedo authored May 29, 2024
2 parents 937880e + c045cdd commit a155585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/overview/shaders-to-headers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ If you are using CMake as build system you can use CMake to directly convert you
GIT_TAG 1344ece4ac278f9b3be3b4555ffaace7a032b91f) # The commit hash for a dev version before v0.9.0. Replace with the latest from: https://github.com/KomputeProject/kompute/releases
FetchContent_MakeAvailable(kompute)
include_directories(${kompute_SOURCE_DIR}/src/include)
include_directories(${kompute_BINARY_DIR}/src/shaders/glsl)
# Add to the list, so CMake can later find the code to compile shaders to header files
list(APPEND CMAKE_PREFIX_PATH "${kompute_SOURCE_DIR}/cmake")
Expand Down

0 comments on commit a155585

Please sign in to comment.