Correct option name to enable c++ wrapper.

This commit is contained in:
Ghislain MARY 2017-03-08 16:30:30 +01:00
parent 46d894caf6
commit 6a1fdcc21c

View file

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