We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798d7b6 commit 8acb838Copy full SHA for 8acb838
CMakeLists.txt
@@ -3,7 +3,10 @@ project("stable-diffusion")
3
4
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
5
6
-add_compile_options(/w)
+# Suppress warnings for Vulkan
7
+if (MSVC AND SD_VULKAN)
8
+ add_compile_options(/w)
9
+endif()
10
11
if (NOT XCODE AND NOT MSVC AND NOT CMAKE_BUILD_TYPE)
12
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
0 commit comments