]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Do not annotate the python module with VERSION/SOVERSION 2916/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 4 Aug 2016 12:59:21 +0000 (07:59 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 4 Aug 2016 12:59:21 +0000 (07:59 -0500)
This fixes a regression on Mac where Python modules are a dynamically
loaded module (".so") instead of a shared library (".dylib").

Closes #2915

contrib/python-bindings/source/CMakeLists.txt

index 6ec21d3b6d2057a4e77fe2972133cb2288ceb751..5ca99eb671fbcb10e4786e1480eb7a1a676a86ef 100644 (file)
@@ -78,8 +78,6 @@ FOREACH(_build ${DEAL_II_BUILD_TYPES})
 
   SET_TARGET_PROPERTIES(PyDealII_${_build_lowercase} PROPERTIES
     OUTPUT_NAME "${PYTHON_BINDINGS_${_build}_NAME}"
-    VERSION "${DEAL_II_PACKAGE_VERSION}"
-    SOVERSION "${DEAL_II_PACKAGE_VERSION}"
     LINK_FLAGS "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${_build}}"
     LINKER_LANGUAGE "CXX"
     COMPILE_DEFINITIONS "${DEAL_II_DEFINITIONS};${DEAL_II_DEFINITIONS_${_build}}"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.