attempt to fix build on Windows+CUDA
This commit is contained in:
parent
d6be69faff
commit
5b8b9ef987
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 /FORCE:MULTIPLE"
|
||||
LINK_FLAGS "/WHOLEARCHIVE /FORCE:MULTIPLE /NODEFAULTLIB:library"
|
||||
)
|
||||
elseif (APPLE)
|
||||
set_target_properties(llama PROPERTIES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue