From 74c28986c404ebfe2216ed43ff0bd1bbcefa1f33 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 8 Feb 2017 15:41:41 +0100 Subject: [PATCH] Use the good config when building 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 018107857..f91070676 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\" --config \"${CMAKE_BUILD_TYPE}\" --target install)")