CMake: Remove FREECAD_USE_PYBIND11 as a build option

This commit is contained in:
wmayer
2024-11-15 18:58:17 +01:00
committed by Chris Hennes
parent b705d683d1
commit bf5baa5de4
4 changed files with 6 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ INSTALL(TARGETS MeshPart DESTINATION ${CMAKE_INSTALL_LIBDIR})
################################ flat mesh ###############################
if (BUILD_FLAT_MESH AND FREECAD_USE_PYBIND11)
if (BUILD_FLAT_MESH)
SET(FLATMESH_SRCS
MeshFlattening.cpp
MeshFlattening.h
@@ -117,5 +117,5 @@ if (BUILD_FLAT_MESH AND FREECAD_USE_PYBIND11)
SET_BIN_DIR(flatmesh flatmesh /Mod/MeshPart)
install(TARGETS flatmesh DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif(BUILD_FLAT_MESH AND FREECAD_USE_PYBIND11)
endif(BUILD_FLAT_MESH)
############################################################################