mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
tester: fix detection of sipp which must be detected on target, not on host
This commit is contained in:
parent
b0d2cd13b1
commit
6f44bbcc56
1 changed files with 5 additions and 4 deletions
|
|
@ -48,12 +48,13 @@ set(SOURCE_FILES
|
|||
video_tester.c
|
||||
)
|
||||
|
||||
find_program(SIPP_PROGRAM NAMES sipp sipp.exe)
|
||||
#executable must be available on root path, not host one
|
||||
find_program(SIPP_PROGRAM NAMES sipp sipp.exe ONLY_CMAKE_FIND_ROOT_PATH)
|
||||
if(SIPP_PROGRAM)
|
||||
add_definitions(-DHAVE_SIPP=1)
|
||||
add_definitions(-DSIPP_COMMAND="${SIPP_PROGRAM}")
|
||||
add_definitions(-DHAVE_SIPP=1)
|
||||
add_definitions(-DSIPP_COMMAND="${SIPP_PROGRAM}")
|
||||
else()
|
||||
message(WARNING "Could not find sipp!")
|
||||
message(WARNING "Could not find sipp!")
|
||||
endif()
|
||||
|
||||
add_definitions(-DBC_CONFIG_FILE="config.h")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue