summaryrefslogtreecommitdiff
path: root/prelude/CMakeLists.txt
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2024-11-25 21:57:48 -0500
committerGitHub <noreply@github.com>2024-11-25 21:57:48 -0500
commite6cf93e3e638cb981a9be392a2f48ea06acd4e3f (patch)
treec1eda91f26dae8b1a60ac00ca12d90d4c67ad8a9 /prelude/CMakeLists.txt
parentd282701ba76e9883d2b7be39ee614fe3bb4f5165 (diff)
Fix issue with slang-embed & include ordering (#5680)
* Fix issue with slang-embed & include ordering * Update CMakeLists.txt
Diffstat (limited to 'prelude/CMakeLists.txt')
-rw-r--r--prelude/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/prelude/CMakeLists.txt b/prelude/CMakeLists.txt
index 67dc89d99..3b0e2cf46 100644
--- a/prelude/CMakeLists.txt
+++ b/prelude/CMakeLists.txt
@@ -11,7 +11,9 @@ foreach(input ${prelude_headers})
set(output "${CMAKE_CURRENT_BINARY_DIR}/${input_name}.cpp")
add_custom_command(
OUTPUT ${output}
- COMMAND slang-embed "${input}" ${output}
+ COMMAND
+ slang-embed "${input}" "${CMAKE_CURRENT_LIST_DIR}/../include"
+ ${output}
DEPENDS ${input} slang-embed
VERBATIM
)