mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 01:10:36 +05:00
try to use omniORBpy / do not link python
This commit is contained in:
parent
608c1be0bf
commit
9e36d21d9d
@ -96,10 +96,10 @@ MARK_AS_ADVANCED(SALOME_BUILD_GUI SALOME_GEOM_USE_OPENCV SALOME_GEOM_USE_VTK)
|
||||
FIND_PACKAGE(SalomePythonInterp REQUIRED)
|
||||
FIND_PACKAGE(SalomePythonLibs REQUIRED)
|
||||
|
||||
IF (NOT DEFINED EMSCRIPTEN)
|
||||
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
|
||||
FIND_PACKAGE(SalomeSWIG REQUIRED)
|
||||
ELSE()
|
||||
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
|
||||
FIND_PACKAGE(SalomeSWIG REQUIRED)
|
||||
|
||||
IF (DEFINED EMSCRIPTEN)
|
||||
FIND_PACKAGE(SalomePythonWasm REQUIRED)
|
||||
SET(PYTHON_INCLUDE_DIRS ${PYTHONWASM_INCLUDE_DIR})
|
||||
SET(PYTHON_LIBRARIES ${PYTHONWASM_LIB})
|
||||
|
@ -27,9 +27,9 @@ SET(SUBDIRS_COMMON
|
||||
STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin Tools
|
||||
)
|
||||
|
||||
if (NOT DEFINED EMSCRIPTEN)
|
||||
list(SUBDIRS_COMMON APPEND XAO_Swig GEOM_SWIG)
|
||||
endif()
|
||||
# if (NOT DEFINED EMSCRIPTEN)
|
||||
list(APPEND SUBDIRS_COMMON XAO_Swig GEOM_SWIG)
|
||||
# endif()
|
||||
|
||||
##
|
||||
# OPENCV
|
||||
|
@ -46,7 +46,7 @@ ADD_DEFINITIONS(
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${PYTHON_LIBRARIES}
|
||||
# ${PYTHON_LIBRARIES}
|
||||
ShHealOper GEOMbasic BlockFix GEOMAlgo GEOMUtils GEOMSketcher GEOMArchimede XAO
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
@ -56,7 +56,7 @@ ADD_DEFINITIONS(
|
||||
SET(_link_LIBRARIES
|
||||
GEOMBase
|
||||
Material
|
||||
${PYTHON_LIBRARIES}
|
||||
# ${PYTHON_LIBRARIES}
|
||||
)
|
||||
|
||||
# --- headers ---
|
||||
|
@ -38,7 +38,7 @@ ADD_DEFINITIONS(
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
XAO
|
||||
${PYTHON_LIBRARIES}
|
||||
# ${PYTHON_LIBRARIES}
|
||||
)
|
||||
|
||||
# --- scripts ---
|
||||
|
Loading…
Reference in New Issue
Block a user