summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2020-04-21 15:53:54 +0300
committerSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2020-04-21 17:58:32 +0300
commitdc86c60436124f72878249d9531943904056a11c (patch)
treec9f0b331be6ac70e3ba35903536671629f431126
parent6fa9eda136ce4a4ee3b8509371bd269310e1b9c9 (diff)
downloadqtlocation-mapboxgl-dc86c60436124f72878249d9531943904056a11c.tar.gz
[build] Fix the output path of the iOS ccache scripts
iOS ccache wrapper scripts should be in the top level of the CMake build tree, so fix the output path in the configure_file().
-rw-r--r--platform/ios/ccache.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/ccache.cmake b/platform/ios/ccache.cmake
index cedf062a16..ff95377312 100644
--- a/platform/ios/ccache.cmake
+++ b/platform/ios/ccache.cmake
@@ -3,8 +3,8 @@ if(CCACHE_PROGRAM)
# Set up wrapper scripts
set(C_LAUNCHER "${CCACHE_PROGRAM}")
set(CXX_LAUNCHER "${CCACHE_PROGRAM}")
- configure_file(${PROJECT_SOURCE_DIR}/platform/ios/ccache-c.in ccache-c)
- configure_file(${PROJECT_SOURCE_DIR}/platform/ios/ccache-cxx.in ccache-cxx)
+ configure_file(${PROJECT_SOURCE_DIR}/platform/ios/ccache-c.in ${CMAKE_BINARY_DIR}/ccache-c)
+ configure_file(${PROJECT_SOURCE_DIR}/platform/ios/ccache-cxx.in ${CMAKE_BINARY_DIR}/ccache-cxx)
execute_process(
COMMAND
chmod