]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
build: apply MSVC /bigobj option to c/cpp files only (#11423)
authorJeff Bolz <redacted>
Sun, 26 Jan 2025 02:10:03 +0000 (20:10 -0600)
committerGitHub <redacted>
Sun, 26 Jan 2025 02:10:03 +0000 (03:10 +0100)
CMakeLists.txt

index e7f520582d53f8b42822bc48dee32ecb115e8790..2f2b1a201d53d775ff6de79b65f32564e1ec5400 100644 (file)
@@ -50,7 +50,8 @@ endif()
 if (MSVC)
     add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
     add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/utf-8>")
-    add_compile_options(/bigobj)
+    add_compile_options("$<$<COMPILE_LANGUAGE:C>:/bigobj>")
+    add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/bigobj>")
 endif()
 
 #