]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : fix building shared libs for clang (rocm) on windows (#3176)
authorEngininja2 <redacted>
Fri, 15 Sep 2023 12:24:30 +0000 (06:24 -0600)
committerGitHub <redacted>
Fri, 15 Sep 2023 12:24:30 +0000 (15:24 +0300)
CMakeLists.txt

index 346ea8d2fe1aa2905914ea1890b23da9605fc377..3283f7b656db9d9705b4beb0d0cf89cfbd899d10 100644 (file)
@@ -445,7 +445,7 @@ if (LLAMA_ALL_WARNINGS)
 
 endif()
 
-if (MSVC)
+if (WIN32)
     add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
 
     if (BUILD_SHARED_LIBS)