cmake stuff
This commit is contained in:
@@ -589,6 +589,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endif(FREECAD_USE_PCL)
|
||||
|
||||
# -------------------------------- PyBind11 -----------------------------
|
||||
# necessary for flat-mesh feature
|
||||
OPTION(FREECAD_USE_PYBIND11 "Use pybind11" OFF)
|
||||
if (FREECAD_USE_PYBIND11)
|
||||
find_package(pybind11 REQUIRED)
|
||||
|
||||
@@ -90,10 +90,6 @@ if (FREECAD_USE_PYBIND11)
|
||||
MeshFlatteningNurbs.cpp
|
||||
MeshFlatteningLscmRelax.h
|
||||
MeshFlatteningLscmRelax.cpp
|
||||
)
|
||||
|
||||
SET(FLATMESH_SRCS
|
||||
${FLATMESH_SRCS}
|
||||
MeshFlatteningPy.cpp
|
||||
)
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ include_directories(${PYTHON_INCLUDE_DIRS})
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
|
||||
OPTION(USE_BOOST_PYTHON "use BOOST_PYTHON, otherwise use PYBIND11" ON)
|
||||
|
||||
if(NOT FREECAD_USE_PYBIND11)
|
||||
if(NOT FREECAD_LIBPACK_USE OR FREECAD_LIBPACK_CHECKFILE_CLBUNDLER)
|
||||
# boost-python >= 1.67 on some platforms has suffix
|
||||
|
||||
Reference in New Issue
Block a user