blob: 504753797f694ebb1a385e646c88c7f1eb0163df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2ab5ed..49d7d5a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,12 @@ endif()
# Avoid error on Android NDK 27+'s CMake files
cmake_policy(SET CMP0057 NEW)
+# https://github.com/KhronosGroup/SPIRV-Cross/issues/2341
+if (POLICY CMP0091)
+ cmake_policy(SET CMP0091 NEW)
+endif()
+set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
+
project(SPIRV-Cross LANGUAGES CXX C)
enable_testing()
|