Skip to content

Commit

Permalink
Use ${SWIG_MODULE_${name}_REAL_NAME}
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Apr 3, 2019
1 parent fa54e5c commit 549c405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/SWIG_CGAL_Macros.cmake
Expand Up @@ -104,7 +104,7 @@ MACRO(ADD_SWIG_CGAL_PYTHON_MODULE packagename)
if (WIN32)
swig_link_libraries (${MODULENAME}_python ${PYTHON_LIBRARIES})
elseif (APPLE)
set_target_properties(${MODULENAME}_python PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
set_target_properties(${SWIG_MODULE_${MODULENAME}_python_REAL_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
endif ()
swig_link_libraries (${MODULENAME}_python ${libstolinkwith})
install (FILES ${PYTHON_OUTDIR_PREFIX}/CGAL/${MODULENAME}.py DESTINATION ${PYTHON_MODULE_PATH}/CGAL)
Expand Down

0 comments on commit 549c405

Please sign in to comment.