v4l: add autoreconf method

parent a4d72838
...@@ -27,7 +27,7 @@ set(EP_v4l_MAY_BE_FOUND_ON_SYSTEM TRUE) ...@@ -27,7 +27,7 @@ set(EP_v4l_MAY_BE_FOUND_ON_SYSTEM TRUE)
set(EP_v4l_IGNORE_WARNINGS TRUE) set(EP_v4l_IGNORE_WARNINGS TRUE)
set(EP_v4l_EXTERNAL_SOURCE_PATHS "externals/v4l-utils") set(EP_v4l_EXTERNAL_SOURCE_PATHS "externals/v4l-utils")
set(EP_v4l_BUILD_METHOD "autotools") set(EP_v4l_BUILD_METHOD "autoreconf")
set(EP_v4l_CROSS_COMPILATION_OPTIONS set(EP_v4l_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}" "--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_HOST}" "--host=${LINPHONE_BUILDER_HOST}"
......
...@@ -550,8 +550,12 @@ macro(linphone_builder_add_external_project PROJNAME) ...@@ -550,8 +550,12 @@ macro(linphone_builder_add_external_project PROJNAME)
BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_build.${SCRIPT_EXTENSION} BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_build.${SCRIPT_EXTENSION}
INSTALL_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install.${SCRIPT_EXTENSION} INSTALL_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install.${SCRIPT_EXTENSION}
) )
elseif(EP_${PROJNAME}_BUILD_METHOD STREQUAL "autotools") elseif(EP_${PROJNAME}_BUILD_METHOD STREQUAL "autotools" OR EP_${PROJNAME}_BUILD_METHOD STREQUAL "autoreconf")
linphone_builder_create_autogen_command(${PROJNAME}) if(EP_${PROJNAME}_BUILD_METHOD STREQUAL "autotools")
linphone_builder_create_autogen_command(${PROJNAME})
else()
set(ep_autogen_command "autoreconf -vfi ${ep_source}")
endif()
linphone_builder_create_configure_command(${PROJNAME}) linphone_builder_create_configure_command(${PROJNAME})
linphone_builder_create_build_command(${PROJNAME}) linphone_builder_create_build_command(${PROJNAME})
if(EP_${PROJNAME}_CONFIG_H_FILE) if(EP_${PROJNAME}_CONFIG_H_FILE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment