From: Jeff Bolz Date: Sun, 26 Jan 2025 02:10:03 +0000 (-0600) Subject: build: apply MSVC /bigobj option to c/cpp files only (#11423) X-Git-Tag: upstream/0.0.4631~74 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f35726c2fb0a824246e004ab4bedcde37f3f0dd0;p=pkg%2Fggml%2Fsources%2Fllama.cpp build: apply MSVC /bigobj option to c/cpp files only (#11423) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e7f52058..2f2b1a20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,8 @@ endif() if (MSVC) add_compile_options("$<$:/utf-8>") add_compile_options("$<$:/utf-8>") - add_compile_options(/bigobj) + add_compile_options("$<$:/bigobj>") + add_compile_options("$<$:/bigobj>") endif() #