mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Fix CLI for FreeBSD
This commit is contained in:
parent
497b69dfd3
commit
6321f669cb
5 changed files with 29 additions and 2 deletions
|
@ -7,5 +7,10 @@ add_library(chiaki-cli-lib STATIC ${SOURCE})
|
|||
target_include_directories(chiaki-cli-lib PUBLIC "include")
|
||||
target_link_libraries(chiaki-cli-lib chiaki-lib)
|
||||
|
||||
if(CHIAKI_CLI_ARGP_STANDALONE)
|
||||
find_package(Argp REQUIRED)
|
||||
target_link_libraries(chiaki-cli-lib Argp::Argp)
|
||||
endif()
|
||||
|
||||
add_executable(chiaki-cli src/main.c)
|
||||
target_link_libraries(chiaki-cli chiaki-cli-lib)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue