mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add knob to suppress building the nTox client
This commit is contained in:
parent
15993d40a4
commit
19711d0fd0
|
@ -480,7 +480,8 @@ if(NOT WIN32
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
||||
option(BUILD_NTOX "Build nTox client" ON)
|
||||
if(NOT WIN32 AND BUILD_NTOX)
|
||||
add_c_executable(nTox testing/nTox.c)
|
||||
target_link_modules(nTox toxcore ${NCURSES_LIBRARIES})
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user