Skip to content

Commit

Permalink
Don't link against python library
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Feb 18, 2019
1 parent d335f32 commit 8f6c401
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ macro(addPythonModule)
#message(STATUS ********Module: ${MODULE_NAME})
#message(STATUS ********Libs: ${ADD_PY_MOD_LIBRRARIES})

# NOTE it's not necessary to link against the python library here
# and if we do, this causes seg-faults on mac, so don't do it!
# link additional libraries
target_link_libraries(_${MODULE_NAME}
PUBLIC
${PYTHON_LIBRARIES}
# ${PYTHON_LIBRARIES}
${ADD_PY_MOD_LIBRRARIES}
)

Expand Down

0 comments on commit 8f6c401

Please sign in to comment.