File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -228,13 +228,6 @@ if (SYCL_ENABLE_XPTI_TRACING)
228
228
endif ()
229
229
endif ()
230
230
231
- # Enable new IN_LIST operator.
232
- cmake_policy (SET CMP0057 NEW )
233
-
234
- if (libdevice IN_LIST LLVM_ENABLE_PROJECTS )
235
- add_dependencies (sycl-toolchain libsycldevice )
236
- endif ()
237
-
238
231
if (NOT DEFINED LLVM_INCLUDE_TESTS )
239
232
set (LLVM_INCLUDE_TESTS ON )
240
233
endif ()
Original file line number Diff line number Diff line change @@ -181,6 +181,13 @@ if (MSVC)
181
181
182
182
endif ()
183
183
184
+ # Enable new IN_LIST operator.
185
+ cmake_policy (SET CMP0057 NEW )
186
+
187
+ if (libdevice IN_LIST LLVM_ENABLE_PROJECTS )
188
+ add_dependencies (sycl libsycldevice )
189
+ endif ()
190
+
184
191
install (TARGETS ${SYCL_RT_LIBS}
185
192
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX} " COMPONENT sycl
186
193
LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX} " COMPONENT sycl
You can’t perform that action at this time.
0 commit comments