Commit c15186aa authored by Julien Wadel's avatar Julien Wadel

Update Top dir to PROJECT_SOURCE_DIR and not CMAKE_SOURCE_DIR

parent 96bc5d26
......@@ -26,7 +26,7 @@ include(FeatureSummary)
set(LINPHONE_BUILDER_CONFIG_FILE "configs/config-desktop.cmake" CACHE STRING "Path to the linphone builder configuration file.")
set(LINPHONE_BUILDER_TOP_DIR "${CMAKE_SOURCE_DIR}" CACHE PATH "Top directory of the source tree.")
set(LINPHONE_BUILDER_TOP_DIR "${PROJECT_SOURCE_DIR}" CACHE PATH "Top directory of the source tree.")
set(LINPHONE_BUILDER_WORK_DIR "${CMAKE_CURRENT_SOURCE_DIR}/WORK" CACHE PATH "Working directory for the build.")
set(LINPHONE_BUILDER_TARGET "linphone" CACHE STRING "Target to build.")
set(LINPHONE_BUILDER_PREBUILT_URL "" CACHE STRING "URL to download some prebuilt dependencies.")
......
......@@ -28,4 +28,4 @@ else()
project(autotools LANGUAGES C CXX)
endif()
configure_file(${CMAKE_SOURCE_DIR}/Autotools.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/Autotools.cmake @ONLY)
configure_file(${PROJECT_SOURCE_DIR}/Autotools.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/Autotools.cmake @ONLY)
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