Commit 6a1fdcc2 authored by Ghislain MARY's avatar Ghislain MARY

Correct option name to enable c++ wrapper.

parent 46d894ca
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment