From dc86c60436124f72878249d9531943904056a11c Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Tue, 21 Apr 2020 15:53:54 +0300 Subject: [PATCH] [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(). --- platform/ios/ccache.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/ios/ccache.cmake b/platform/ios/ccache.cmake index cedf062a1..ff9537731 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