mirror of
https://github.com/microsoft/BitNet
synced 2025-04-29 15:57:27 +08:00
Add -fpermissive
if using GCC
This commit is contained in:
parent
141ddfd4fe
commit
489b7c5abf
@ -32,6 +32,10 @@ if (GGML_BITNET_X86_TL2)
|
||||
add_compile_definitions(GGML_BITNET_X86_TL2)
|
||||
endif()
|
||||
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_compile_options(-fpermissive)
|
||||
endif()
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
Loading…
x
Reference in New Issue
Block a user