mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
make .so shared lib -> important for python import
This commit is contained in:
parent
d374297fce
commit
5e1d9a3c39
@ -1,5 +1,8 @@
|
|||||||
add_definitions(-DNGLIB_EXPORTS)
|
add_definitions(-DNGLIB_EXPORTS)
|
||||||
add_library(geom2d ${NG_LIB_TYPE} genmesh2d.cpp geom2dmesh.cpp geometry2d.cpp python_geom2d.cpp )
|
add_library(geom2d ${NG_LIB_TYPE} genmesh2d.cpp geom2dmesh.cpp geometry2d.cpp python_geom2d.cpp )
|
||||||
|
if(APPLE)
|
||||||
|
set_target_properties( geom2d PROPERTIES SUFFIX ".so")
|
||||||
|
endif(APPLE)
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
target_link_libraries(geom2d mesh ${PYTHON_LIBS})
|
target_link_libraries(geom2d mesh ${PYTHON_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user