summaryrefslogtreecommitdiff
path: root/source/slang-core-module
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang-core-module')
-rw-r--r--source/slang-core-module/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang-core-module/CMakeLists.txt b/source/slang-core-module/CMakeLists.txt
index 67b0e9af2..50b45c90c 100644
--- a/source/slang-core-module/CMakeLists.txt
+++ b/source/slang-core-module/CMakeLists.txt
@@ -152,7 +152,7 @@ set(core_module_common_args
slang_add_target(
${core_module_common_args}
TARGET_NAME slang-embedded-core-module
- EXPLICIT_SOURCE ${core_module_generated_header}
+ REQUIRES generate_core_module_headers
EXTRA_COMPILE_DEFINITIONS_PRIVATE SLANG_EMBED_CORE_MODULE
INCLUDE_DIRECTORIES_PRIVATE ${core_module_generated_header_dir}
)