mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-01-30 20:23:15 +08:00
build: apply MSVC /bigobj option to c/cpp files only (#11423)
This commit is contained in:
parent
4a75d19376
commit
f35726c2fb
@ -50,7 +50,8 @@ endif()
|
|||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
|
add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
|
||||||
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/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()
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user