diff --git a/src/interfaces/python_modular/CMakeLists.txt b/src/interfaces/python_modular/CMakeLists.txt index 1ecced75d6e..d77f5b6888a 100644 --- a/src/interfaces/python_modular/CMakeLists.txt +++ b/src/interfaces/python_modular/CMakeLists.txt @@ -1,6 +1,11 @@ include(CommonModularInterface) include_directories(${PYTHON_INCLUDE_PATH} ${NUMPY_INCLUDE_DIRS}) +#TODO: check for SWIG version where this bug has been applied already: +# https://github.com/swig/swig/pull/70 + +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnoc++11-narrowing") + GENERATE_MODULAR_TARGET(python ${CMAKE_CURRENT_SOURCE_DIR} ${PYTHON_LIBRARIES}) # pacakges directory