File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ FetchContent_Declare(
12
12
13
13
set (UR_TEST_DEVICES_COUNT 1 CACHE STRING "Count of devices on which conformance and adapters tests will be run" )
14
14
set (UR_TEST_PLATFORMS_COUNT 1 CACHE STRING "Count of platforms on which conformance and adapters tests will be run" )
15
+ set (UR_TEST_FUZZTESTS ON CACHE BOOL "Run fuzz tests if using clang and UR_DPCXX is specified" )
15
16
# For Windows: Prevent overriding the parent project's compiler/linker settings
16
17
set (gtest_force_shared_crt ON CACHE BOOL "" FORCE )
17
18
FetchContent_MakeAvailable (googletest )
@@ -30,6 +31,6 @@ add_subdirectory(mock)
30
31
if (UR_BUILD_TOOLS )
31
32
add_subdirectory (tools )
32
33
endif ()
33
- if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UR_DPCXX )
34
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UR_DPCXX AND UR_TEST_FUZZTESTS )
34
35
add_subdirectory (fuzz )
35
36
endif ()
You can’t perform that action at this time.
0 commit comments