From e014172f63e4d8dad9b0c5c5cb4d4c52bff6314c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 2 Feb 2017 11:02:33 +0100 Subject: [PATCH] Fix for paths with spaces when generating the C++ wrapper. --- wrappers/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/cpp/CMakeLists.txt b/wrappers/cpp/CMakeLists.txt index f1fbf2949..018107857 100644 --- a/wrappers/cpp/CMakeLists.txt +++ b/wrappers/cpp/CMakeLists.txt @@ -15,4 +15,4 @@ add_custom_target(make_cpp_wrapper ALL ${CMAKE_COMMAND} -E make_directory build/ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt ${CMAKE_CURRENT_BINARY_DIR}/include/linphone.hh ) -install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} --build ${CMAKE_CURRENT_BINARY_DIR}/build --target install)") +install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" --build \"${CMAKE_CURRENT_BINARY_DIR}/build\" --target install)")