Legalization: Skip spirv-tools tests
authorGregF <greg@LunarG.com>
Wed, 27 Sep 2017 17:34:48 +0000 (11:34 -0600)
committerGregF <greg@LunarG.com>
Wed, 27 Sep 2017 21:23:15 +0000 (15:23 -0600)
External/CMakeLists.txt

index d9e071e..4d96901 100644 (file)
@@ -36,6 +36,7 @@ endif()
 
 if(ENABLE_OPT AND NOT TARGET SPIRV-Tools-opt)
     if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/spirv-tools)
+        set(SPIRV_SKIP_TESTS ON CACHE BOOL "Skip building SPIRV-Tools tests")
         add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/spirv-tools spirv-tools)
     endif()
 endif()