summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2/python
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-06-17 05:58:34 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-06-17 05:58:34 +0000
commit80a69935f8a5ee35bfbe79668d4e299969ce6de2 (patch)
treebf21ce2b377b38a2faa497180d081603f0d2fb86 /qpid/cpp/bindings/qmf2/python
parent82a54b464cf748227c011743b61ec9524eaffb8c (diff)
downloadqpid-python-80a69935f8a5ee35bfbe79668d4e299969ce6de2.tar.gz
QPID-5829: Rearrange CMake files to centralise some flags
- This means they can be used in the bindings. - It also means that individual modules do not have to specify to catch undefined symbols as this is the default beahviour now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603064 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/python')
-rw-r--r--qpid/cpp/bindings/qmf2/python/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/CMakeLists.txt b/qpid/cpp/bindings/qmf2/python/CMakeLists.txt
index b000937ee6..941ebdb397 100644
--- a/qpid/cpp/bindings/qmf2/python/CMakeLists.txt
+++ b/qpid/cpp/bindings/qmf2/python/CMakeLists.txt
@@ -33,9 +33,9 @@ list(APPEND SWIG_MODULE_cqmf2_EXTRA_DEPS
${CMAKE_SOURCE_DIR}/include/qpid/swig_python_typemaps.i
)
swig_add_module(cqmf2 python ${CMAKE_CURRENT_SOURCE_DIR}/cqmf2.i)
-swig_link_libraries(cqmf2 qmf2 ${PYTHON_LIBRARIES})
+swig_link_libraries(cqmf2 qmf2 qpidmessaging qpidtypes ${PYTHON_LIBRARIES})
-set_source_files_properties(${swig_generated_file_fullname} PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
+set_source_files_properties(${swig_generated_file_fullname} PROPERTIES COMPILE_FLAGS "${NOSTRICT_ALIASING}")
include_directories(${PYTHON_INCLUDE_PATH}
${qpid-cpp_SOURCE_DIR}/include
${qpid-cpp_SOURCE_DIR}/bindings)