Commit 6cc29c32 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

remove swig warning

parent 87bc726e
Pipeline #2392 failed with stage
in 11 seconds
......@@ -89,7 +89,7 @@ macro(dg_add_swig_module module filename libname)
# see CMake bug 4147
SWIG_GET_WRAPPER_DEPENDENCIES(${filename} ${CMAKE_CURRENT_BINARY_DIR}/${module}PYTHON_wrap.cxx python swig_extra_dependencies)
LIST(APPEND SWIG_MODULE_${module}_EXTRA_DEPS ${swig_extra_dependencies})
swig_add_module(${module} python ${filename})
swig_add_library(${module} LANGUAGE python SOURCES ${filename})
swig_link_libraries(${module} "${PYTHON_LIBRARIES};${libname}")
set_target_properties(${SWIG_MODULE_${module}_REAL_NAME} PROPERTIES COMPILE_FLAGS "-Wno-literal-suffix")
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