attempt to fix build on Windows

This commit is contained in:
M. Yusuf Sarıgöz 2023-11-06 03:27:03 +03:00
parent 71ea278ad8
commit 1f8c866408

View file

@ -687,7 +687,7 @@ if (BUILD_SHARED_LIBS)
# are not used. This changes that.
if (WIN32)
set_target_properties(llama PROPERTIES
LINK_FLAGS "/WHOLEARCHIVE"
LINK_FLAGS "/WHOLEARCHIVE /FORCE:MULTIPLE"
)
elseif (APPLE)
set_target_properties(llama PROPERTIES