attempt to fix build on Windows
This commit is contained in:
parent
71ea278ad8
commit
1f8c866408
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue