mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add knob to suppress building the toxav test
This commit is contained in:
parent
656f0b9112
commit
15993d40a4
|
@ -463,7 +463,10 @@ endif()
|
|||
#
|
||||
################################################################################
|
||||
|
||||
if(NOT WIN32 AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FOUND)
|
||||
option(BUILD_AV_TEST "Build toxav test" ON)
|
||||
if(NOT WIN32
|
||||
AND BUILD_AV_TEST AND BUILD_TOXAV
|
||||
AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FOUND)
|
||||
add_c_executable(av_test testing/av_test.c)
|
||||
target_link_modules(av_test
|
||||
toxav
|
||||
|
|
Loading…
Reference in New Issue
Block a user