summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt
index f701ef6..7766480 100644
--- a/py/CMakeLists.txt
+++ b/py/CMakeLists.txt
@@ -14,6 +14,8 @@ include_directories(../libkms++ ../libkmstest)
#set(CMAKE_SWIG_FLAGS "-I../../libkms")
set(CMAKE_SWIG_FLAGS "-builtin")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-field-initializers")
+
set_source_files_properties(pykms.i PROPERTIES CPLUSPLUS ON)
swig_add_module(pykms python pykms.i)
swig_link_libraries(pykms kms++ kmstest ${LIBDRM_LIBRARIES} ${PYTHON_LIBRARIES})