We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d26e73c commit 89303b9Copy full SHA for 89303b9
xptifw/CMakeLists.txt
@@ -19,6 +19,12 @@ if (NOT DEFINED XPTI_DIR) # don't overwrite if already set
19
endif()
20
21
22
+if (LLVM_ENABLE_PROJECTS)
23
+ # If XPTIFW is built as part of LLVM (i.e. as part of SYCL), then let's
24
+ # re-use existing infrastructure for setting up various hardening flags
25
+ include(HandleLLVMOptions)
26
+endif()
27
+
28
option(XPTI_ENABLE_WERROR OFF)
29
option(XPTI_BUILD_SAMPLES OFF)
30
option(XPTI_BUILD_BENCHMARK OFF)
0 commit comments