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.
2 parents b66cf9b + 0e37380 commit 51d7180Copy full SHA for 51d7180
source/adapters/level_zero/CMakeLists.txt
@@ -132,6 +132,11 @@ set_target_properties(${TARGET_NAME} PROPERTIES
132
SOVERSION "${PROJECT_VERSION_MAJOR}"
133
)
134
135
+if (WIN32)
136
+ # 0x800: Search for the DLL only in the System32 folder
137
+ target_link_options(ur_adapter_level_zero PUBLIC /DEPENDENTLOADFLAG:0x800)
138
+endif()
139
+
140
target_link_libraries(${TARGET_NAME} PRIVATE
141
${PROJECT_NAME}::headers
142
${PROJECT_NAME}::common
0 commit comments