Commit 52fb9d0b authored by Ghislain MARY's avatar Ghislain MARY

Allow configuring working directory.

parent 0c045dff
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
set(LINPHONE_BUILDER_TOOLCHAIN "desktop" CACHE STRING "Toolchain to use for the build.") set(LINPHONE_BUILDER_TOOLCHAIN "desktop" CACHE STRING "Toolchain to use for the build.")
set(LINPHONE_BUILDER_WORK_DIR "${CMAKE_CURRENT_SOURCE_DIR}/WORK" CACHE PATH "Working directory for the build.")
# Include macros definition to be used by builders # Include macros definition to be used by builders
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
include(ExternalProject) include(ExternalProject)
set(ep_base ${CMAKE_CURRENT_SOURCE_DIR}/WORK) set(ep_base ${LINPHONE_BUILDER_WORK_DIR})
set_property(DIRECTORY PROPERTY EP_BASE ${ep_base}) set_property(DIRECTORY PROPERTY EP_BASE ${ep_base})
......
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