Fix for paths with spaces when generating the C++ wrapper.

This commit is contained in:
Ghislain MARY 2017-02-02 11:02:33 +01:00
parent 448038b9c1
commit e014172f63

View file

@ -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)")