Skip to content

Commit

Permalink
Fix PythonModular build with C++11
Browse files Browse the repository at this point in the history
read more about this bug at:
swig/swig#70
  • Loading branch information
vigsterkr committed Aug 7, 2013
1 parent b485ac9 commit a7ef209
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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
Expand Down

0 comments on commit a7ef209

Please sign in to comment.