Commit 8717d293 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Allow defining the install target.

parent 9fffb09d
...@@ -246,6 +246,11 @@ function(linphone_builder_add_project PROJNAME) ...@@ -246,6 +246,11 @@ function(linphone_builder_add_project PROJNAME)
else("${EP_${PROJNAME}_CONFIG_H_FILE}" STREQUAL "") else("${EP_${PROJNAME}_CONFIG_H_FILE}" STREQUAL "")
set(ep_config_h_file ${EP_${PROJNAME}_CONFIG_H_FILE}) set(ep_config_h_file ${EP_${PROJNAME}_CONFIG_H_FILE})
endif("${EP_${PROJNAME}_CONFIG_H_FILE}" STREQUAL "") endif("${EP_${PROJNAME}_CONFIG_H_FILE}" STREQUAL "")
if("${EP_${PROJNAME}_INSTALL_TARGET}" STREQUAL "")
set(ep_install_target "install")
else("${EP_${PROJNAME}_INSTALL_TARGET}" STREQUAL "")
set(ep_install_target "${EP_${PROJNAME}_INSTALL_TARGET}")
endif("${EP_${PROJNAME}_INSTALL_TARGET}" STREQUAL "")
if(MSVC) if(MSVC)
set(SCRIPT_EXTENSION bat) set(SCRIPT_EXTENSION bat)
......
...@@ -21,4 +21,4 @@ export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@" ...@@ -21,4 +21,4 @@ export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@" export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
cd @ep_build@ cd @ep_build@
make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ install @ep_redirect_to_file@ make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_install_target@ @ep_redirect_to_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