mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fix non-LLVM build.
This commit is contained in:
committed by
Christoffer Lerno
parent
a9d93c93d5
commit
3d512abaf7
@@ -474,6 +474,7 @@ if(C3_WITH_LLVM)
|
||||
else()
|
||||
target_sources(c3c PRIVATE src/utils/hostinfo.c)
|
||||
target_compile_definitions(c3c PUBLIC LLVM_AVAILABLE=0)
|
||||
target_link_libraries(c3c m)
|
||||
endif()
|
||||
|
||||
target_include_directories(c3c PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user