Skip to content

Commit 2ffa3a0

Browse files
authored
[CMake] Pass SYCL_RT_ZSTD_AVAILABLE for no_cgh unittests (#20231)
#19294 added new _no_cgh version, need to pass the macros to fix the build failures.
1 parent 4abb58c commit 2ffa3a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/unittests/compression/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ add_sycl_unittest(CompressionTests OBJECT
22
CompressionTests.cpp
33
)
44
target_compile_definitions(CompressionTests_non_preview PRIVATE SYCL_RT_ZSTD_AVAILABLE)
5+
target_compile_definitions(CompressionTests_no_cgh PRIVATE SYCL_RT_ZSTD_AVAILABLE)
56
target_compile_definitions(CompressionTests_preview PRIVATE SYCL_RT_ZSTD_AVAILABLE __INTEL_PREVIEW_BREAKING_CHANGES)

0 commit comments

Comments
 (0)