changeset 1543:8b6d8f9b9f71

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Aug 2015 17:26:46 +0200
parents d2bccd57795e
children 4d0e2c38d15b
files Resources/CMake/DownloadPackage.cmake Resources/CMake/MongooseConfiguration.cmake
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DownloadPackage.cmake	Thu Aug 13 17:20:24 2015 +0200
+++ b/Resources/CMake/DownloadPackage.cmake	Thu Aug 13 17:26:46 2015 +0200
@@ -16,7 +16,7 @@
 ##
 
 if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
-  set(PATCH_EXECUTABLE ${CMAKE_SOURCE_DIR}/Resources/patch/patch.exe)
+  set(PATCH_EXECUTABLE ${CMAKE_SOURCE_DIR}/Resources/ThirdParty/patch/patch.exe)
 else ()
   find_program(PATCH_EXECUTABLE patch)
   if (${PATCH_EXECUTABLE} MATCHES "PATCH_EXECUTABLE-NOTFOUND")
--- a/Resources/CMake/MongooseConfiguration.cmake	Thu Aug 13 17:20:24 2015 +0200
+++ b/Resources/CMake/MongooseConfiguration.cmake	Thu Aug 13 17:26:46 2015 +0200
@@ -30,7 +30,7 @@
 
   # Patch mongoose
   execute_process(
-    COMMAND ${PATCH_EXECUTABLE} -N mongoose.c ${MONGOOSE_PATCH}
+    COMMAND ${PATCH_EXECUTABLE} -N mongoose.c -i ${MONGOOSE_PATCH}
     WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR}
     RESULT_VARIABLE Failure
     )