Skip to content

Commit 032d7f8

Browse files
turn off BUILD_SHARED_LIBS on windows
1 parent f296018 commit 032d7f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if (MSVC)
1313
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
1414
endif()
1515

16+
if (WIN32)
17+
set(BUILD_SHARED_LIBS OFF)
18+
endif()
19+
1620
add_subdirectory(SPIRV-Headers)
1721

1822
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24")

0 commit comments

Comments
 (0)