summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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