This patch was borrowed from Debian's package: https://salsa.debian.org/debian-astro-team/aoflagger/-/blob/0484ef75a663e3e07738550cdade46f433a53dac/debian/patches/Use-system-provided-pybind11.patch Description: Use system provided pybind11 Author: Ole Streicher Origin: Debian Last-Update: Mon, 30 Aug 2021 11:05:37 +0200 --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 655ea5e..824ee2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,11 +62,6 @@ foreach(ExternalSubmodule IN LISTS ExternalSubmoduleDirectories) endif() endforeach() -# Include aocommon/pybind11 headers -include_directories("${CMAKE_SOURCE_DIR}/external/aocommon/include") -add_subdirectory("${CMAKE_SOURCE_DIR}/external/pybind11") -include_directories(SYSTEM ${pybind11_INCLUDE_DIR}) - find_package( HDF5 COMPONENTS C CXX @@ -101,6 +96,11 @@ find_package(PythonInterp REQUIRED) message(STATUS "Using python version ${PYTHON_VERSION_STRING}") include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS}) +# Include pybind11 headers +find_package(pybind11 REQUIRED) +include_directories("${CMAKE_SOURCE_DIR}/external/aocommon/include") +include_directories(${pybind11_INCLUDE_DIR}) + # boost::alignment requires Boost 1.56 find_package(Boost 1.56.0 REQUIRED COMPONENTS date_time filesystem system unit_test_framework) 82521b52ac6b0725'>diff
path: root/gnu/packages/gobby.scm
AgeCommit message (Expand)Author
2021-01-03gnu: obby: Omit static library....* gnu/packages/gobby.scm (obby)[arguments]: Add ‘--disable-static’ to #:configure-flags. Tobias Geerinckx-Rice
2021-01-03gnu: libnet6: Omit static library....* gnu/packages/gobby.scm (libnet6)[arguments]: Add ‘--disable-static’ to #:configure-flags. Tobias Geerinckx-Rice
2021-01-03gnu: libinfinity: Omit static libraries...* gnu/packages/gobby.scm (libinfinity)[arguments]: Add ‘--disable-static’ to #:configure-flags. Tobias Geerinckx-Rice
2021-01-02gnu: libinfinity: Update to 0.7.2....* gnu/packages/gobby.scm (libinfinity): Update to 0.7.2. Efraim Flashner
2019-10-20gnu: Remove more GCC < 7 workarounds....* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to the GCC command line. * gnu/packages/aidc.scm (zbar)[arguments]: Likewise. * gnu/packages/android.scm (android-libbase, android-libcutils, android-libziparchive, fastboot)[arguments]: Likewise. * gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise. * gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise. * gnu/packages/code.scm (rtags)[arguments]: Likewise. * gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise. * gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise. * gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise. * gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise. * gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise. * gnu/packages/graph.scm (python-faiss)[arguments]: Likewise. * gnu/packages/graphics.scm (povray)[arguments]: Likewise. * gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise. * gnu/packages/image.scm (freeimage)[arguments]: Likewise. * gnu/packages/kodi.scm (crossguid)[arguments]: Likewise. * gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise. * gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise. * gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise. * gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise. Marius Bakke