diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | swig/zypp.i | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cb417a..e02ba6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.8) ENABLE_TESTING() -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x -fPIC -fno-strict-aliasing") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -fPIC -fno-strict-aliasing") # # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff --git a/swig/zypp.i b/swig/zypp.i index 71bfdb3..53b781d 100644 --- a/swig/zypp.i +++ b/swig/zypp.i @@ -20,6 +20,7 @@ #define BOOST_NO_CXX11_NOEXCEPT #define BOOST_NO_CXX11_RVALUE_REFERENCES #define BOOST_NO_CXX11_SMART_PTR +#define constexpr %{ /* Includes the header in the wrapper code */ |