From nobody Fri May 12 07:43:17 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHgjd2kLSz4BgTy; Fri, 12 May 2023 07:43:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHgjd29NJz4NvG; Fri, 12 May 2023 07:43:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683877397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x0Agl4kcNsg3/H6TOiLg9eyyZFBv5MQKjaIX365hcDI=; b=JItweRboc10nsqQ/xW/G5Dxt6e/RPnoQ328jVJxQNc4AEe6FkN3pD0FJsP0vjfnAjAmnYW YQ2lxRotP5cqI9On90RsHyNAERrypkbwyf2JZfJoa0W4hpOGrONsyexLWGuGTqj8Sw4qAL fv6W01/ctoM7yBoUnLZ4eGc0jzczvVfxkikZUzO0dvr6E4xbaziZBrvL3jqZOHM1lzUK2/ puD8hXR0T0sK2z/YcToz943b82tnP+/8W/sJ2PqrXXgtJDRNsal4HPCgM/bCvISqkPyoIq jdGK/yTmgf2Kd2oH4dJR6Gpsmq3bhrG14ghkXfbtW1XJrMyK2+RUFqdBAC8haQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683877397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x0Agl4kcNsg3/H6TOiLg9eyyZFBv5MQKjaIX365hcDI=; b=o+zD+SEzVEHKiu2Ooijf9gz+DBASBfVGjvwYxb2DloM3N1CxMNePE5ejtxz0EUlQ1YKGwJ 0ndF8a+8BOxfgGVYDo+9kRa53l7IgZiCKRvUcNxsmE7KHEA59IfHFeNlWWnl+3thZO2tRp wiHIxw11r/tadl4r6u6+viOZLegecFmjWfpV+bVcl6tWzEpASRpD+Rbnu9dahBA9jTtpTS 9yQiGcFwUro9eqgjNpaj8nrRIcpbw02PigCIKm2ZzsMBE4vhmroIc6WI3ULkmBYtNXHliE cvNJFlaatTi1a5/WJIfM3MVFpjxh7tz+WTAOi9x/pjlj4SoJHkoaFCfjPQbaVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683877397; a=rsa-sha256; cv=none; b=v2nfAN2lUqqBD+ay3Cg0ehY1md9sKLvs/8G4zJA1itDuLnYcJMajWmwqrtHcaJxPvo27KE 0DhXY+8BQEeFwFBisesARK2B3tHjmJkJp0DoFVzCEPXL0KYRlpSZfJXbcRKeZ90YT5XEuP eo8HVFJhcTsy/EFyOidz1ERWciq/Tbgws6FgytrL7VqZGaJnhmo/5Z2eiui+yYmyVkHw4b kTedtuVNCJRH+QCtdEQ9Rai6b1HF1O5YMLDu0CFp55oItsxwIC+vC7eTeCtpDYtjl9gKTb 0S78n8yY0R11PWZ2Rl3Sn4ZXO38BvQfROf9FMcG10YMenM0I/DXXQkGkVX2ctA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHgjd1DkyzRrf; Fri, 12 May 2023 07:43:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34C7hHrb072510; Fri, 12 May 2023 07:43:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34C7hHtt072509; Fri, 12 May 2023 07:43:17 GMT (envelope-from git) Date: Fri, 12 May 2023 07:43:17 GMT Message-Id: <202305120743.34C7hHtt072509@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2495f4fa5120 - main - =?utf-8?Q?graphics/{,py-}f3d:=20Update=201.3.1=20=E2=86=92=202.0.0?= List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2495f4fa5120df95fac7c96805b2eddb9d92a6e3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2495f4fa5120df95fac7c96805b2eddb9d92a6e3 commit 2495f4fa5120df95fac7c96805b2eddb9d92a6e3 Author: Yuri Victorovich AuthorDate: 2023-05-12 07:41:57 +0000 Commit: Yuri Victorovich CommitDate: 2023-05-12 07:43:15 +0000 graphics/{,py-}f3d: Update 1.3.1 → 2.0.0 Reported by: portscout --- graphics/f3d/Makefile | 47 +++++++++++-------- graphics/f3d/distinfo | 8 ++-- .../f3d/files/patch-application_CMakeLists.txt | 11 ----- .../f3d/files/patch-library_testing_CMakeLists.txt | 11 ----- graphics/f3d/pkg-plist | 52 +++++++++++++++++++++- graphics/py-f3d/Makefile | 8 ++-- graphics/py-f3d/distinfo | 6 +-- graphics/py-f3d/files/patch-CMakeLists.txt | 22 ++++----- 8 files changed, 98 insertions(+), 67 deletions(-) diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile index 78ac36dc0b2d..b7f1945f3489 100644 --- a/graphics/f3d/Makefile +++ b/graphics/f3d/Makefile @@ -1,20 +1,16 @@ PORTNAME= f3d DISTVERSIONPREFIX= v -DISTVERSION= 1.3.1 -PORTREVISION= 9 +DISTVERSION= 2.0.0 CATEGORIES= graphics -PATCH_SITES= https://github.com/f3d-app/f3d/commit/ -PATCHFILES= cc108300b44981b530aa3ad72c971c889e6bf3e2.diff:-p1 - MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and minimalist 3D viewer WWW= https://f3d-app.github.io/f3d/ LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ +LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg4 \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ @@ -23,7 +19,7 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libnetcdf.so:science/netcdf \ libvtkCommonMisc-${VTK_VER}.so:math/vtk${VTK_VER:R} -USES= cmake:testing compiler:c++17-lang desktop-file-utils gl tcl tk xorg +USES= cmake:testing compiler:c++17-lang desktop-file-utils gl shared-mime-info tcl tk xorg USE_GL= gl glu USE_XORG= ice sm x11 xt @@ -31,31 +27,39 @@ USE_GITHUB= yes GH_ACCOUNT= f3d-app CMAKE_OFF= F3D_STRICT_BUILD # disable -Werror +CMAKE_OFF+= F3D_LINUX_APPLICATION_LINK_FILESYSTEM -OPTIONS_GROUP= MODULES -OPTIONS_GROUP_MODULES= ALEMBIC ASSIMP EXODUS EXTERNAL_RENDERING OCCT RAYTRACING -OPTIONS_DEFAULT= ALEMBIC ASSIMP EXODUS OCCT +# dependency descroptions are in https://f3d.app/doc/dev/BUILD.html +OPTIONS_GROUP= MODULES PLUGINS +OPTIONS_GROUP_MODULES= EXTERNAL_RENDERING RAYTRACING +OPTIONS_GROUP_PLUGINS= ALEMBIC ASSIMP DRACO EXODUS OCCT +OPTIONS_DEFAULT= ALEMBIC ASSIMP DRACO EXODUS OCCT +OPTIONS_SUB= yes MODULES_DESC= Build modules: -ALEMBIC_DESC= Alembic module (ABC files) -ALEMBIC_CMAKE_BOOL= F3D_MODULE_ALEMBIC +ALEMBIC_DESC= Alembic plugin (for ABC files) +ALEMBIC_CMAKE_BOOL= F3D_PLUGIN_BUILD_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic -ASSIMP_DESC= Assimp module (FBX, OFF, DAE and DXF files) -ASSIMP_CMAKE_BOOL= F3D_MODULE_ASSIMP +ASSIMP_DESC= Assimp plugin (for FBX, OFF, DAE and DXF files) +ASSIMP_CMAKE_BOOL= F3D_PLUGIN_BUILD_ASSIMP ASSIMP_LIB_DEPENDS= libassimp.so:multimedia/assimp -EXODUS_DESC= ExodusII module -EXODUS_CMAKE_BOOL= F3D_MODULE_EXODUS +DRACO_DESC= Draco plugin +DRACO_CMAKE_BOOL= F3D_PLUGIN_BUILD_DRACO +DRACO_LIB_DEPENDS= libdraco.so:archivers/draco + +EXODUS_DESC= ExodusII plugin +EXODUS_CMAKE_BOOL= F3D_PLUGIN_BUILD_EXODUS EXTERNAL_RENDERING_DESC= External rendering module EXTERNAL_RENDERING_CMAKE_BOOL= F3D_MODULE_EXTERNAL_RENDERING EXTERNAL_RENDERING_BROKEN= Requires VTK::RenderingExternal enabled in VTK -OCCT_DESC= OpenCASCADE module (STEP and IGES files) +OCCT_DESC= OpenCASCADE plugin (for STEP and IGES files) OCCT_USES= localbase:ldflags -OCCT_CMAKE_BOOL= F3D_MODULE_OCCT +OCCT_CMAKE_BOOL= F3D_PLUGIN_BUILD_OCCT OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade \ libdraco.so:archivers/draco OCCT_CMAKE_ON= -DOpenCASCADE_DIR=${LOCALBASE}/lib/cmake @@ -66,6 +70,11 @@ RAYTRACING_BROKEN= Requires VTK::RenderingRayTracing enabled in VTK post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} + # component-based install + cd ${BUILD_WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component configuration && \ + ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component sdk && \ + ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component mimetypes .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/f3d/distinfo b/graphics/f3d/distinfo index 423b4b73c6e6..77de3baab9a4 100644 --- a/graphics/f3d/distinfo +++ b/graphics/f3d/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1675621771 -SHA256 (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 653dc4044e14d0618c1d947a8ee85d2513e100b3fc24bd6e51830131a13e795d -SIZE (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 35586414 -SHA256 (cc108300b44981b530aa3ad72c971c889e6bf3e2.diff) = d57f50bcf67f61b6ec5bd156da5c573210ef14fb360c8b82ae7a4cfffa53323a -SIZE (cc108300b44981b530aa3ad72c971c889e6bf3e2.diff) = 1224 +TIMESTAMP = 1683777603 +SHA256 (f3d-app-f3d-v2.0.0_GH0.tar.gz) = 5b335de78a9f68903d7023d947090d4b36fa15b9e165749906a82153e0f56d05 +SIZE (f3d-app-f3d-v2.0.0_GH0.tar.gz) = 15392626 diff --git a/graphics/f3d/files/patch-application_CMakeLists.txt b/graphics/f3d/files/patch-application_CMakeLists.txt deleted file mode 100644 index f219486bd740..000000000000 --- a/graphics/f3d/files/patch-application_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- application/CMakeLists.txt.orig 2022-09-07 16:38:14 UTC -+++ application/CMakeLists.txt -@@ -29,7 +29,7 @@ endif() - add_executable(f3d ${F3D_SOURCE_FILES}) - target_link_libraries(f3d PUBLIC libf3d) - --if (UNIX AND NOT APPLE) -+if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - target_link_libraries(f3d PRIVATE stdc++fs) - endif () - diff --git a/graphics/f3d/files/patch-library_testing_CMakeLists.txt b/graphics/f3d/files/patch-library_testing_CMakeLists.txt deleted file mode 100644 index 828882a5d08a..000000000000 --- a/graphics/f3d/files/patch-library_testing_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- library/testing/CMakeLists.txt.orig 2022-09-07 16:39:43 UTC -+++ library/testing/CMakeLists.txt -@@ -112,7 +112,7 @@ if(Qt5_FOUND) - target_link_libraries(libf3dSDKTests Qt5::OpenGL) - endif() - --if (UNIX AND NOT APPLE) -+if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - target_link_libraries(libf3dSDKTests stdc++fs) - endif () - diff --git a/graphics/f3d/pkg-plist b/graphics/f3d/pkg-plist index a6718b1a0e68..1c1ed1944508 100644 --- a/graphics/f3d/pkg-plist +++ b/graphics/f3d/pkg-plist @@ -1,4 +1,18 @@ bin/f3d +%%ALEMBIC%%%%ETCDIR%%/config.d/10_alembic.json +%%ASSIMP%%%%ETCDIR%%/config.d/10_assimp.json +%%DRACO%%%%ETCDIR%%/config.d/10_draco.json +%%EXODUS%%%%ETCDIR%%/config.d/10_exodus.json +%%ETCDIR%%/config.d/10_global.json +%%ETCDIR%%/config.d/10_native.json +%%ALEMBIC%%%%ETCDIR%%/thumbnail.d/10_alembic.json +%%ASSIMP%%%%ETCDIR%%/thumbnail.d/10_assimp.json +%%DRACO%%%%ETCDIR%%/thumbnail.d/10_draco.json +%%EXODUS%%%%ETCDIR%%/thumbnail.d/10_exodus.json +%%OCCT%%%%ETCDIR%%/config.d/10_occt.json +%%ETCDIR%%/thumbnail.d/10_global.json +%%ETCDIR%%/thumbnail.d/10_native.json +%%OCCT%%%%ETCDIR%%/thumbnail.d/10_occt.json include/f3d/camera.h include/f3d/engine.h include/f3d/exception.h @@ -8,24 +22,60 @@ include/f3d/interactor.h include/f3d/loader.h include/f3d/log.h include/f3d/options.h +include/f3d/plugin.h +include/f3d/reader.h include/f3d/types.h include/f3d/window.h lib/cmake/f3d/f3dConfig.cmake lib/cmake/f3d/f3dConfigVersion.cmake lib/cmake/f3d/f3dEmbed.cmake +lib/cmake/f3d/f3dPlugin.cmake lib/cmake/f3d/f3dTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/f3d/f3dTargets.cmake +lib/cmake/f3d/plugin.cxx.in +lib/cmake/f3d/plugin.desktop.in +lib/cmake/f3d/plugin.thumbnailer.in +lib/cmake/f3d/readerBoilerPlate.h.in +%%ALEMBIC%%lib/libVTKExtensionsAlembicReader.a lib/libVTKExtensionsApplicative.a +%%ASSIMP%%lib/libVTKExtensionsAssimpReader.a lib/libVTKExtensionsCore.a +%%DRACO%%lib/libVTKExtensionsDracoReader.a +%%OCCT%%lib/libVTKExtensionsOCCTReader.a lib/libVTKExtensionsReaders.a lib/libVTKExtensionsRendering.a lib/libf3d.so +%%ALEMBIC%%share/applications/f3d-plugin-alembic.desktop +%%ASSIMP%%share/applications/f3d-plugin-assimp.desktop +%%DRACO%%share/applications/f3d-plugin-draco.desktop +share/applications/f3d-plugin-native.desktop +%%OCCT%%share/applications/f3d-plugin-occt.desktop share/applications/f3d.desktop share/bash-completion/completions/f3d +share/doc/F3D/LICENSE.md +share/doc/F3D/THIRD_PARTY_LICENSES.md +%%ALEMBIC%%%%DATADIR%%/plugins/alembic.json +%%ASSIMP%%%%DATADIR%%/plugins/assimp.json +%%DRACO%%%%DATADIR%%/plugins/draco.json +%%EXODUS%%%%DATADIR%%/plugins/exodus.json +%%DATADIR%%/plugins/native.json +%%OCCT%%%%DATADIR%%/plugins/occt.json share/fish/vendor_completions.d/f3d.fish share/icons/hicolor/32x32/apps/f3d.png share/icons/hicolor/48x48/apps/f3d.png share/icons/hicolor/64x64/apps/f3d.png share/icons/hicolor/scalable/apps/f3d.svg -share/metainfo/io.github.f3d_app.f3d.metainfo.xml +share/metainfo/app.f3d.F3D.metainfo.xml +share/mime/packages/f3d-3d-formats.xml +share/mime/packages/f3d-3d-image-formats.xml +%%ALEMBIC%%share/mime/packages/f3d-alembic-formats.xml +%%ASSIMP%%share/mime/packages/f3d-assimp-formats.xml +%%DRACO%%share/mime/packages/f3d-draco-formats.xml +%%OCCT%%share/mime/packages/f3d-occt-formats.xml +share/mime/packages/f3d-vtk-formats.xml +%%ALEMBIC%%share/thumbnailers/f3d-plugin-alembic.thumbnailer +%%ASSIMP%%share/thumbnailers/f3d-plugin-assimp.thumbnailer +%%DRACO%%share/thumbnailers/f3d-plugin-draco.thumbnailer +share/thumbnailers/f3d-plugin-native.thumbnailer +%%OCCT%%share/thumbnailers/f3d-plugin-occt.thumbnailer share/zsh/site-functions/_f3d diff --git a/graphics/py-f3d/Makefile b/graphics/py-f3d/Makefile index 7d939d5b9c2d..a2428121b77e 100644 --- a/graphics/py-f3d/Makefile +++ b/graphics/py-f3d/Makefile @@ -1,7 +1,6 @@ PORTNAME= f3d DISTVERSIONPREFIX= v -DISTVERSION= 1.3.1 -PORTREVISION= 2 +DISTVERSION= 2.0.0 CATEGORIES= graphics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,7 +9,7 @@ COMMENT= Fast and minimalist 3D viewer WWW= https://f3d-app.github.io/f3d/ LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/../LICENSE +LICENSE_FILE= ${WRKSRC}/../LICENSE.md BUILD_DEPENDS= pybind11>0:devel/pybind11 LIB_DEPENDS= libf3d.so:graphics/f3d @@ -22,6 +21,9 @@ GH_ACCOUNT= f3d-app WRKSRC_SUBDIR= python +CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER} \ + -DCMAKE_INSTALL_LIBDIR=lib + CXXFLAGS+= -I${LOCALBASE}/include/f3d .include diff --git a/graphics/py-f3d/distinfo b/graphics/py-f3d/distinfo index 07fcead13c5e..2b1b5b81f17c 100644 --- a/graphics/py-f3d/distinfo +++ b/graphics/py-f3d/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662604096 -SHA256 (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 653dc4044e14d0618c1d947a8ee85d2513e100b3fc24bd6e51830131a13e795d -SIZE (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 35586414 +TIMESTAMP = 1683822703 +SHA256 (f3d-app-f3d-v2.0.0_GH0.tar.gz) = 5b335de78a9f68903d7023d947090d4b36fa15b9e165749906a82153e0f56d05 +SIZE (f3d-app-f3d-v2.0.0_GH0.tar.gz) = 15392626 diff --git a/graphics/py-f3d/files/patch-CMakeLists.txt b/graphics/py-f3d/files/patch-CMakeLists.txt index 434d9bd56e1a..d33b8156f532 100644 --- a/graphics/py-f3d/files/patch-CMakeLists.txt +++ b/graphics/py-f3d/files/patch-CMakeLists.txt @@ -1,21 +1,15 @@ ---- CMakeLists.txt.orig 2022-09-07 10:17:51 UTC +--- CMakeLists.txt.orig 2023-04-20 16:01:48 UTC +++ CMakeLists.txt -@@ -1,10 +1,13 @@ -+cmake_minimum_required(VERSION 3.12) -+find_package(Python COMPONENTS Interpreter Development) - find_package(pybind11 2.2 REQUIRED) -+set(CMAKE_INSTALL_LIBDIR lib) - - pybind11_add_module(pyf3d F3DPythonBindings.cxx) +@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) - target_compile_features(pyf3d PRIVATE cxx_std_14) + project(pyf3d) --target_link_libraries(pyf3d PRIVATE libf3d) -+target_link_libraries(pyf3d PRIVATE f3d) +-find_package(Python 3.6 COMPONENTS Interpreter Development) ++find_package(Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development) + find_package(pybind11 2.2 REQUIRED) - set_target_properties(pyf3d PROPERTIES - LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" -@@ -23,6 +26,10 @@ endif() + pybind11_add_module(pyf3d MODULE F3DPythonBindings.cxx) +@@ -33,6 +33,10 @@ endif() if (APPLE OR UNIX) set_target_properties(pyf3d PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") endif ()