mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Link occ properly for emscripten builds
This commit is contained in:
parent
d069f57422
commit
50bb59f4fe
@ -37,6 +37,7 @@ endif(USE_GUI)
|
|||||||
if(USE_PYTHON)
|
if(USE_PYTHON)
|
||||||
add_library(ngpy SHARED netgenpy.cpp)
|
add_library(ngpy SHARED netgenpy.cpp)
|
||||||
target_link_libraries( ngpy PUBLIC nglib PRIVATE "$<BUILD_INTERFACE:netgen_python>" )
|
target_link_libraries( ngpy PUBLIC nglib PRIVATE "$<BUILD_INTERFACE:netgen_python>" )
|
||||||
|
target_link_libraries( ngpy PRIVATE ${MPI_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} ${MKL_LIBRARIES} ${ZLIB_LIBRARIES} occ_libs netgen_cgns )
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set_target_properties( ngpy PROPERTIES SUFFIX ".so")
|
set_target_properties( ngpy PROPERTIES SUFFIX ".so")
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user