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()