summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index e67e56ea5..2676a8ca7 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -72,7 +72,7 @@ function(example dir)
)
endfunction()
-if(SLANG_ENABLE_EXAMPLES)
+if(SLANG_ENABLE_EXAMPLES AND SLANG_ENABLE_SLANG_RHI)
#
# Examples
#