mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-04 11:08:01 +00:00
Fix for windows.
This commit is contained in:
parent
89910c7ca8
commit
7e304106cc
@ -70,8 +70,9 @@ foreach(BUILD_VARIANT IN LISTS BUILD_VARIANTS)
|
|||||||
target_compile_definitions(${TARGET_NAME}
|
target_compile_definitions(${TARGET_NAME}
|
||||||
PRIVATE GGML_BUILD_VARIANT="${BUILD_VARIANT}")
|
PRIVATE GGML_BUILD_VARIANT="${BUILD_VARIANT}")
|
||||||
# Enable IPO if possible
|
# Enable IPO if possible
|
||||||
set_property(TARGET ${TARGET_NAME}
|
# FIXME: Doesn't work with msvc reliably. See https://github.com/nomic-ai/gpt4all/issues/841
|
||||||
PROPERTY INTERPROCEDURAL_OPTIMIZATION ${IPO_SUPPORTED})
|
# set_property(TARGET ${TARGET_NAME}
|
||||||
|
# PROPERTY INTERPROCEDURAL_OPTIMIZATION ${IPO_SUPPORTED})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# Add each individual implementations
|
# Add each individual implementations
|
||||||
|
Loading…
Reference in New Issue
Block a user