From 6a1fdcc21c05a10548aef233dd7d51db457702e1 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 8 Mar 2017 16:30:30 +0100 Subject: [PATCH] Correct option name to enable c++ wrapper. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33c4745c5..70a39e37f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO) option(ENABLE_NLS "Build with internationalisation support" YES) option(ENABLE_VCARD "Turn on compilation of vcard4 support." YES) option(ENABLE_ROOTCA_DOWNLOAD "Download rootca.pem at build time." YES) -option(CXX_WRAPPER "Build the C++ wrapper for Liblinphone." OFF) +option(ENABLE_CXX_WRAPPER "Build the C++ wrapper for Liblinphone." OFF) set(CMAKE_CXX_STANDARD 11) @@ -172,7 +172,7 @@ endif() if(ENABLE_LIME) set(HAVE_LIME 1) endif() -if (CXX_WRAPPER) +if(ENABLE_CXX_WRAPPER) set(Python_ADDITIONAL_VERSIONS 2) find_package(PythonInterp REQUIRED) endif() @@ -330,7 +330,7 @@ endif() if(ENABLE_UNIT_TESTS AND BCTOOLBOX_TESTER_FOUND) add_subdirectory(tester) endif() -if(CXX_WRAPPER) +if(ENABLE_CXX_WRAPPER) add_subdirectory(wrappers/cpp) endif()