cmake find_package(Python) examples

ornladios/ADIOS2 cmake/DetectOptions.cmake :411

find_package(Python 3.8 REQUIRED COMPONENTS Interpreter Development.Module)

ornladios/ADIOS2 cmake/DetectOptions.cmake :414

find_package(Python 3.8 COMPONENTS Interpreter Development)

ornladios/ADIOS2 cmake/DetectOptions.cmake :419

find_package(Python 3.8 REQUIRED COMPONENTS Interpreter Development)

ornladios/ADIOS2 cmake/DetectOptions.cmake :436

find_package(Python REQUIRED COMPONENTS Interpreter)

ornladios/ADIOS2 cmake/upstream/FindPython.cmake :35

find_package (Python COMPONENTS Interpreter Development)

alembic/alembic CMakeLists.txt :232

FIND_PACKAGE(Python${PYALEMBIC_PYTHON_MAJOR} COMPONENTS Interpreter Development)

liballeg/allegro5 contrib/luajit/CMakeLists.txt :1

find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)

liballeg/allegro5 python/CMakeLists.txt :1

find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)

OpenChemistry/avogadrolibs python/CMakeLists.txt :6

find_package(Python COMPONENTS Interpreter Development)

projectchrono/chrono src/chrono_thirdparty/yaml-cpp/test/googletest-1.13.0/googletest/cmake/internal_utils.cmake :263

find_package(Python COMPONENTS Interpreter)

CLIUtils/CLI11 single-include/CMakeLists.txt :9

find_package(
  Python
  COMPONENTS Interpreter
  REQUIRED)

cp2k/cp2k CMakeLists.txt :333

find_package(
  Python
  COMPONENTS Interpreter
  REQUIRED)

danmar/cppcheck cmake/findDependencies.cmake :56

find_package(Python COMPONENTS Interpreter)

SFML/CSFML cmake/Tidy.cmake :23

find_package(Python 3 REQUIRED)

cp2k/dbcsr CMakeLists.txt :188

find_package(
  Python
  COMPONENTS Interpreter
  REQUIRED)

davisking/dlib dlib/external/pybind11/tools/pybind11NewTools.cmake :51

find_package(Python 3.6 REQUIRED COMPONENTS Interpreter ${_pybind11_dev_component}
                                            ${_pybind11_quiet} ${_pybind11_global_keyword})

doxygen/doxygen CMakeLists.txt :240

find_package(Python REQUIRED)

doxygen/doxygen doc/CMakeLists.txt :48

find_package(Python REQUIRED)

flintlib/flint CMakeLists.txt :118

find_package(Python REQUIRED)

facebook/folly build/fbcode_builder/CMake/RustStaticLibrary.cmake :77

# This function requires `find_package(Python COMPONENTS Interpreter)`.

OSGeo/gdal CMakeLists.txt :206

find_package(Python ${Python_LOOKUP_VERSION} EXACT COMPONENTS Interpreter Development NumPy)

OSGeo/gdal CMakeLists.txt :209

find_package(Python 3.8 COMPONENTS Interpreter Development NumPy)

AcademySoftwareFoundation/Imath cmake/FindPythonPackage.cmake :16

find_package(Python QUIET COMPONENTS Interpreter)

dscharrer/innoextract cmake/StyleCheck.cmake :25

find_package(Python COMPONENTS Interpreter)

ispc/ispc examples/cpu/point_transform_nanobind/CMakeLists.txt :12

find_package(Python 3.7 COMPONENTS Interpreter Development REQUIRED)

KhronosGroup/KTX external/fmt/doc/CMakeLists.txt :14

find_package(Python QUIET REQUIRED)

lammps/lammps cmake/CMakeLists.txt :229

find_package(Python COMPONENTS Interpreter QUIET)

lammps/lammps cmake/CMakeLists.txt :919

find_package(Python COMPONENTS Interpreter)

lammps/lammps cmake/Modules/FindCythonize.cmake :10

find_package(Python 3.6 COMPONENTS Interpreter QUIET)

lammps/lammps cmake/Modules/Packages/MDI.cmake :29

find_package(Python QUIET COMPONENTS Development)

lammps/lammps cmake/Modules/Packages/ML-IAP.cmake :5

find_package(Python COMPONENTS NumPy QUIET)

lammps/lammps cmake/Modules/Packages/ML-IAP.cmake :23

find_package(Python COMPONENTS NumPy REQUIRED)

lammps/lammps cmake/Modules/Packages/PYTHON.cmake :7

find_package(Python COMPONENTS Interpreter)

lammps/lammps cmake/Modules/Packages/PYTHON.cmake :9

find_package(Python REQUIRED COMPONENTS Interpreter Development)

lammps/lammps unittest/force-styles/CMakeLists.txt :23

find_package(Python COMPONENTS Interpreter)

lammps/lammps unittest/python/CMakeLists.txt :15

find_package(Python 3.6 COMPONENTS Interpreter Development)

ledger/ledger CMakeLists.txt :74

find_package(Python
  COMPONENTS Interpreter Development)

ledger/ledger test/CMakeLists.txt :4

find_package(Python COMPONENTS Interpreter) # Used for running tests

intrepidcs/libicsneo third-party/googletest-master/googletest/cmake/internal_utils.cmake :253

find_package(Python COMPONENTS Interpreter)

analogdevicesinc/libiio bindings/python/CMakeLists.txt :23

find_package (Python COMPONENTS Interpreter)

libjxl/libjxl CMakeLists.txt :470

find_package(Python COMPONENTS Interpreter QUIET)

libsndfile/libsndfile cmake/SndFileChecks.cmake :252

find_package (Python REQUIRED)

intel/libvpl libvpl/test/ext/googletest/googletest/cmake/internal_utils.cmake :249

find_package(Python COMPONENTS Interpreter)

jmcnamara/libxlsxwriter CMakeLists.txt :486

find_package(Python COMPONENTS Interpreter REQUIRED)

MapServer/MapServer src/mapscript/python/CMakeLists.txt :4

find_package (Python REQUIRED COMPONENTS Interpreter Development)

gjtorikian/mtex2MML CMakeLists.txt :197

find_package(Python REQUIRED)

wjakob/nanobind CMakeLists.txt :148

find_package(Python 3.8
  REQUIRED COMPONENTS Interpreter ${NB_PYTHON_DEV_MODULE}
  OPTIONAL_COMPONENTS Development.SABIModule)

YosysHQ/nextpnr 3rdparty/pybind11/tools/pybind11NewTools.cmake :51

find_package(Python 3.6 REQUIRED COMPONENTS Interpreter ${_pybind11_dev_component}
                                            ${_pybind11_quiet} ${_pybind11_global_keyword})

stevengj/nlopt CMakeLists.txt :315

find_package (Python 3.6 COMPONENTS Interpreter Development.SABIModule NumPy)

stevengj/nlopt CMakeLists.txt :318

find_package (Python 3.6 COMPONENTS Interpreter Development.Module NumPy)

OpenImageDenoise/oidn cmake/oidn_macros.cmake :53

find_package(Python REQUIRED)

BYVoid/OpenCC deps/pybind11-2.13.1/tools/pybind11NewTools.cmake :58

find_package(
  Python 3.7 REQUIRED COMPONENTS ${_pybind11_interp_component} ${_pybind11_dev_component}
                                 ${_pybind11_quiet} ${_pybind11_global_keyword})

AcademySoftwareFoundation/OpenColorIO share/cmake/macros/FindPythonPackage.cmake :16

find_package(Python QUIET COMPONENTS Interpreter)

AcademySoftwareFoundation/OpenColorIO share/cmake/modules/Findpybind11.cmake :67

find_package(Python QUIET COMPONENTS Interpreter)

AcademySoftwareFoundation/OpenColorIO share/cmake/modules/FindSphinx.cmake :17

find_package(Python QUIET COMPONENTS Interpreter)

AcademySoftwareFoundation/openexr cmake/FindPythonPackage.cmake :16

find_package(Python QUIET COMPONENTS Interpreter)

AcademySoftwareFoundation/openexr src/wrappers/python/CMakeLists.txt :12

find_package(Python COMPONENTS Interpreter Development.Module REQUIRED)

openscad/openscad CMakeLists.txt :471

find_package(Python REQUIRED COMPONENTS Interpreter Development)

PixarAnimationStudios/OpenSubdiv CMakeLists.txt :415

find_package(Python COMPONENTS Interpreter)

AcademySoftwareFoundation/OpenTimelineIO CMakeLists.txt :56

find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)

openturns/openturns CMakeLists.txt :537

find_package (Python 3.6 COMPONENTS Interpreter Development.SABIModule)

openturns/openturns CMakeLists.txt :540

find_package (Python 3.6 COMPONENTS Interpreter Development.Module)

AcademySoftwareFoundation/openvdb CMakeLists.txt :481

# Call find_package(Python ...)

AcademySoftwareFoundation/openvdb CMakeLists.txt :482

find_package(Python ${MINIMUM_PYTHON_VERSION} REQUIRED COMPONENTS Development Interpreter)

AcademySoftwareFoundation/openvdb cmake/FindOpenVDB.cmake :496

find_package(Python REQUIRED)

AcademySoftwareFoundation/openvdb openvdb_ax/openvdb_ax/test/TestAXCmd.cmake :36

find_package(Python ${MINIMUM_PYTHON_VERSION} COMPONENTS Interpreter REQUIRED)

ICLDisco/parsec cmake_modules/FindCython.cmake :27

find_package (Python COMPONENTS Interpreter Development)

ICLDisco/parsec tests/profiling/Testings.cmake :1

find_package (Python COMPONENTS Interpreter)

ICLDisco/parsec tools/profiling/python/CMakeLists.txt :7

FIND_PACKAGE(Python COMPONENTS Interpreter Development
             QUIET)

wdas/partio CMakeLists.txt :124

find_package(Python REQUIRED COMPONENTS Interpreter Development)

PDAL/PDAL cmake/docs.cmake :22

find_package(Python COMPONENTS Interpreter REQUIRED)

coin3d/pivy CMakeLists.txt :21

find_package(Python REQUIRED COMPONENTS Interpreter Development)

YosysHQ/prjtrellis libtrellis/3rdparty/pybind11/tools/pybind11NewTools.cmake :35

find_package(Python 3.6 REQUIRED COMPONENTS Interpreter Development ${_pybind11_quiet})

OSGeo/PROJ test/cli/CMakeLists.txt :88

find_package(Python COMPONENTS Interpreter)

pybind/pybind11 tools/pybind11NewTools.cmake :54

find_package(
  Python 3.8 REQUIRED COMPONENTS ${_pybind11_interp_component} ${_pybind11_dev_component}
                                 ${_pybind11_quiet} ${_pybind11_global_keyword})

qgis/QGIS CMakeLists.txt :1142

find_package(Python ${MIN_PYTHON_VERSION} REQUIRED COMPONENTS Interpreter Development)

qgis/QGIS CMakeLists.txt :1144

find_package(Python ${MIN_PYTHON_VERSION} REQUIRED COMPONENTS Interpreter)

rapidfuzz/rapidfuzz CMakeLists.txt :46

find_package(
  Python
  COMPONENTS Interpreter Development
  REQUIRED)

rapidfuzz/rapidfuzz CMakeLists.txt :52

find_package(
  Python
  COMPONENTS Interpreter Development.Module
  REQUIRED)

sandialabs/seacas packages/seacas/scripts/CMakeLists.txt :91

find_package(Python COMPONENTS Interpreter)

wdas/SeExpr CMakeLists.txt :80

#find_package(Python COMPONENTS Interpreter Development)

google/shaderc CMakeLists.txt :94

find_package(Python COMPONENTS Interpreter REQUIRED)

google/shaderc cmake/setup_build.cmake :52

find_package(Python COMPONENTS Interpreter REQUIRED)

spglib/spglib python/CMakeLists.txt :39

# Running `find_package(Python)` early to be able to define target with `Python_add_library`

spglib/spglib python/CMakeLists.txt :40

find_package(Python 3.9 COMPONENTS REQUIRED Development.Module NumPy)

spglib/spglib test/CMakeLists.txt :98

find_package(Python 3.9 REQUIRED)

Haivision/srt scripts/FindBotan.cmake :27

find_package(
    Python
    COMPONENTS
        Interpreter
    REQUIRED
)

DrTimothyAldenDavis/SuiteSparse Mongoose/CMakeLists.txt :80

find_package ( Python COMPONENTS Interpreter )

trilinos/Trilinos packages/seacas/scripts/CMakeLists.txt :92

find_package(Python COMPONENTS Interpreter)

EttusResearch/uhd host/cmake/Modules/UHDPython.cmake :368

# find_package(Python ...) above.

microsoft/vcpkg ports/fbgemm/portfile.cmake :19

-DPYTHON_EXECUTABLE=${PYTHON3} # inject the path instead of find_package(Python)

microsoft/vcpkg ports/spdk/CMakeLists.txt :12

FIND_PACKAGE(Python COMPONENTS Interpreter REQUIRED)

microsoft/vcpkg scripts/buildsystems/vcpkg.cmake :622

find_package(Python COMPONENTS Interpreter)

ukoethe/vigra CMakeLists.txt :146

FIND_PACKAGE(Python COMPONENTS Interpreter)

ukoethe/vigra CMakeLists.txt :191

FIND_PACKAGE(Python COMPONENTS Interpreter Development NumPy)

ukoethe/vigra config/FindVIGRANUMPY_DEPENDENCIES.cmake :6

FIND_PACKAGE(Python COMPONENTS Interpreter Development NumPy)

Viskores/viskores CMakeLists.txt :336

find_package(Python QUIET COMPONENTS Interpreter)

vrpn/vrpn CMakeLists.txt :305

find_package(Python ${_VRPN_PYTHON_VERSIONSEARCH} COMPONENTS Development ${QUIET_IF_SUBPROJECT})

zyantific/zydis CMakeLists.txt :536

find_package(Python 3 REQUIRED)