cmake set_package_properties examples

Signatures

set_package_properties(<name> PROPERTIES
  [URL <url>]
  [DESCRIPTION <description>]
  [TYPE (RUNTIME|OPTIONAL|RECOMMENDED|REQUIRED)]
  [PURPOSE <purpose>]
)

Examples

Hork-Engine/Hork-Source ThirdParty/SDL3/build-scripts/pkg-support/android/cmake/SDL3Config.cmake :7

set_package_properties(SDL3 PROPERTIES
    URL "https://www.libsdl.org/"
    DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
)

RavEngine/RavEngine deps/OpenXR-SDK/src/cmake/FindEGL.cmake :168

set_package_properties(EGL PROPERTIES
    URL "https://www.khronos.org/egl/"
    DESCRIPTION "A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG."
)

overte-org/overte cmake/modules/FindJournald.cmake :41

set_package_properties(Journald PROPERTIES URL https://github.com/systemd
  DESCRIPTION "Systemd logging daemon")

PDAL/PDAL cmake/tiledb.cmake :6

set_package_properties(TileDB PROPERTIES
        TYPE OPTIONAL
        URL "https://www.tiledb.com"
        PURPOSE "TileDB support")

nextcloud/desktop cmake/modules/FindInotify.cmake :53

set_package_properties(Inotify PROPERTIES
            URL "https://github.com/libinotify-kqueue/"
            DESCRIPTION "inotify API on the *BSD family of operating systems."
        )

KDE/kdeplasma-addons CMakeLists.txt :77

set_package_properties(KF6Purpose PROPERTIES
    DESCRIPTION "Framework for cross-application services and actions"
    PURPOSE "Needed for QuickShare applet"
    URL "https://commits.kde.org/purpose"
    TYPE RUNTIME
)

KDE/digikam core/CMakeLists.txt :252

set_package_properties("Exiv2"     PROPERTIES
                       DESCRIPTION "Required to build digiKam"
                       URL         "http://www.exiv2.org"
                       TYPE        RECOMMENDED
                       PURPOSE     "Library to manage image metadata"
)

gnss-sdr/gnss-sdr CMakeLists.txt :167

set_package_properties(Git PROPERTIES
        URL "https://git-scm.com"
        DESCRIPTION "A free and open source distributed version control system (found: v${GIT_VERSION_STRING})"
        PURPOSE "Manage version control, get MINOR_VERSION name for version number."
        TYPE REQUIRED
    )

sandialabs/InterSpec external_libs/Minuit2/StandAlone.cmake :180

set_package_properties(OpenMP PROPERTIES
    URL "http://www.openmp.org"
    DESCRIPTION "Parallel compiler directives"
    PURPOSE "Parallel FCN calls (Thread safe FCNs only)")

awawa-dev/HyperHDR cmake/cmake_modules/FindXCB.cmake :177

set_package_properties(XCB PROPERTIES
    URL "https://xcb.freedesktop.org/"
    DESCRIPTION "X protocol C-language Binding"
)

opensim-org/opensim-core CMakeLists.txt :803

set_package_properties(casadi PROPERTIES
            URL https://web.casadi.org
            TYPE REQUIRED
            PURPOSE "Differentiation and optimizer interface.")

root-project/root math/minuit2/StandAlone.cmake :179

set_package_properties(OpenMP PROPERTIES
    URL "http://www.openmp.org"
    DESCRIPTION "Parallel compiler directives"
    PURPOSE "Parallel FCN calls (Thread safe FCNs only)")

robotology/yarp cmake/FindSOXR.cmake :27

set_package_properties(SOXR PROPERTIES DESCRIPTION "The SoX Resampler library `libsoxr' performs one-dimensional sample-rate conversion"
                                              URL "https://sourceforge.net/projects/soxr/")

manticoresoftware/manticoresearch cmake/FindZSTD.cmake :34

set_package_properties ( ZSTD PROPERTIES TYPE RUNTIME URL "https://github.com/facebook/zstd" )

KDE/k3b CMakeLists.txt :97

set_package_properties(Samplerate PROPERTIES
    DESCRIPTION "Audio sampling rate conversion."
    URL "http://www.mega-nerd.com/SRC"
    TYPE REQUIRED)

KiCad/kicad-source-mirror cmake/FindPoppler.cmake :129

set_package_properties(Poppler PROPERTIES
    DESCRIPTION "A PDF rendering library"
    URL "https://poppler.freedesktop.org/"
)

fooyin/fooyin cmake/modules/FindPipeWire.cmake :97

set_package_properties(
  PipeWire PROPERTIES
  URL "https://www.pipewire.org"
  DESCRIPTION "PipeWire - multimedia processing")

qt/qtbase cmake/FindDB2.cmake :68

set_package_properties(DB2 PROPERTIES
  URL "https://www.ibm.com"
  DESCRIPTION "IBM DB2 client library")

KDE/plasma-workspace CMakeLists.txt :157

set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams"
                       URL "https://www.zlib.net"
                       TYPE REQUIRED
                      )

Dreamtowards/Ethertia lib/sol2-3.3.0/cmake/Packages/FindSphinx.cmake :58

set_package_properties(Sphinx
  PROPERTIES
    DESCRIPTION "Sphinx Documentation Generator"
    URL "https://sphinx-doc.org")

rbfx/rbfx Source/ThirdParty/OpenXRSDK/src/cmake/FindEGL.cmake :168

set_package_properties(EGL PROPERTIES
    URL "https://www.khronos.org/egl/"
    DESCRIPTION "A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG."
)

shawwn/noh cmake/FindEGL.cmake :176

set_package_properties(EGL PROPERTIES
    URL "https://www.khronos.org/egl/"
    DESCRIPTION "A platform-independent mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG."
)

ComputationalBiomechanicsLab/opensim-creator third_party/libosim/opensim-core/CMakeLists.txt :803

set_package_properties(casadi PROPERTIES
            URL https://web.casadi.org
            TYPE REQUIRED
            PURPOSE "Differentiation and optimizer interface.")

CDrummond/cantata cmake/MacroLogFeature.cmake :96

SET_PACKAGE_PROPERTIES("${_package}" PROPERTIES DESCRIPTION "\"${_description}\"" URL  "${_url}" PURPOSE PURPOSE"\"${_comments}\"")

darktable-org/rawspeed cmake/clang-tidy.cmake :10

SET_PACKAGE_PROPERTIES(RawSpeedClangTidyModule PROPERTIES
    URL https://github.com/darktable-org/rawspeed-clang-tidy-module
    DESCRIPTION "custom clang-tidy module for RawSpeed library"
    PURPOSE "RawSpeed-specific clang-tidy checks"
  )

KDAB/KDReports docs/CMakeLists.txt :10

set_package_properties(
    Doxygen PROPERTIES
    TYPE OPTIONAL
    DESCRIPTION "API Documentation system"
    URL "https://www.doxygen.org"
    PURPOSE "Needed to build the API documentation."
)

phisko/kengine kengine/render/polyvox/libs/polyvox/bindings/CMakeLists.txt :34

set_package_properties(SWIG PROPERTIES DESCRIPTION "Bindings generator" URL http://www.swig.org)

n4n0GH/hello kstyle/CMakeLists.txt :48

set_package_properties(KF5FrameworkIntegration PROPERTIES
      DESCRIPTION "KF5 Framework Integration"
      URL "https://projects.kde.org/projects/frameworks/frameworkintegration"
      TYPE OPTIONAL
      PURPOSE "Required to use KStyle convenience functionalities in style")

dokutan/mouse_m908 cmake/FindLibUSB.cmake :47

set_package_properties(LibUSB PROPERTIES
    URL "https://libusb.info"
    DESCRIPTION "a C library that provides generic access to USB devices."
)

cvet/fonline ThirdParty/SDL/build-scripts/pkg-support/android/aar/cmake/SDL3Config.cmake :7

set_package_properties(SDL3 PROPERTIES
    URL "https://www.libsdl.org/"
    DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
)

OtterBrowser/otter-browser CMakeLists.txt :81

set_package_properties(Hunspell PROPERTIES URL "https://hunspell.github.io/" DESCRIPTION "Generic spell checking support" TYPE OPTIONAL)

KDE/okteta cmake/Findzstd.cmake :80

set_package_properties(zstd PROPERTIES
    DESCRIPTION "A fast lossless compression algorithm library"
    URL "https://github.com/facebook/zstd"
)

INET-RC/GeoMX 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark/cmake/Modules/FindLLVMAr.cmake :13

SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
  URL https://llvm.org/docs/CommandGuide/llvm-ar.html
  DESCRIPTION "create, modify, and extract from archives"
)

KDE/kstars CMakeLists.txt :220

set_package_properties(CFitsio PROPERTIES DESCRIPTION "FITS IO Library" URL "https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html" TYPE OPTIONAL PURPOSE "Support for the FITS (Flexible Image Transport System) data format in KStars.")

H-uru/Plasma cmake/Dependencies.cmake :4

set_package_properties(
    3dsm PROPERTIES
    URL "https://www.autodesk.com/"
    DESCRIPTION "SDK for integrating with the 3DS Max modelling software"
    PURPOSE "Required for building the Plasma plugins for 3DS Max"
    TYPE OPTIONAL
)

Marisa-Chan/UA_source src/cmake/FindFFmpeg.cmake :361

set_package_properties(
  FFmpeg
  PROPERTIES
    URL "https://www.ffmpeg.org"
    DESCRIPTION "A complete, cross-platform solution to record, convert and stream audio and video."
)

ckb-next/ckb-next cmake/modules/FindWaylandProtocols.cmake :35

set_package_properties(WaylandProtocols PROPERTIES
    DESCRIPTION "Specifications of extended Wayland protocols"
    URL "https://wayland.freedesktop.org/"
)

scp-fs2open/fs2open.github.com lib/openxr/src/cmake/FindEGL.cmake :168

set_package_properties(EGL PROPERTIES
    URL "https://www.khronos.org/egl/"
    DESCRIPTION "A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG."
)

ompl/omplapp CMakeLists.txt :59

set_package_properties(Boost PROPERTIES
    URL "http://boost.org"
    PURPOSE "Used throughout OMPL for data serialization, graphs, etc.")

NVIDIA/MDL-SDK src/mdl/jit/llvm/dist/utils/benchmark/cmake/Modules/FindLLVMAr.cmake :13

SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
  URL https://llvm.org/docs/CommandGuide/llvm-ar.html
  DESCRIPTION "create, modify, and extract from archives"
)

ompl/ompl CMakeLists.txt :46

set_package_properties(Boost PROPERTIES
    URL "https://www.boost.org"
    PURPOSE "Used throughout OMPL for data serialization, graphs, etc.")

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/libsndfile/CMakeLists.txt :159

set_package_properties (Ogg PROPERTIES
	TYPE RECOMMENDED
	URL "www.xiph.org/ogg/"
	DESCRIPTION "library for manipulating ogg bitstreams"
	PURPOSE "Required to enable Vorbis, Speex, and Opus support"
	)

Lewuathe/mlir-hello thirdparty/llvm-project/third-party/benchmark/cmake/Modules/FindLLVMAr.cmake :13

SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
  URL https://llvm.org/docs/CommandGuide/llvm-ar.html
  DESCRIPTION "create, modify, and extract from archives"
)

o2e/OLLVM-9.0.1 utils/benchmark/cmake/Modules/FindLLVMAr.cmake :13

SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
  URL https://llvm.org/docs/CommandGuide/llvm-ar.html
  DESCRIPTION "create, modify, and extract from archives"
)

qt/qtmultimedia cmake/FindPipeWire.cmake :120

set_package_properties(PipeWire PROPERTIES
    URL "https://www.pipewire.org"
    DESCRIPTION "PipeWire - multimedia processing"
)

tomahawk-player/tomahawk CMakeModules/FindTaglib.cmake :87

set_package_properties(Taglib PROPERTIES
    URL "https://taglib.org/"
    DESCRIPTION "A library for reading and editing the meta-data of audio formats"
)

MRPT/mrpt cmakemodules/FindEGL.cmake :148

set_package_properties(EGL PROPERTIES
    URL "https://www.khronos.org/egl/"
    DESCRIPTION "A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG."
)

qt/qtwebengine cmake/FindGn.cmake :50

set_package_properties(Gn PROPERTIES
    URL "https://gn.googlesource.com/gn/"
    DESCRIPTION "Meta-build system"
)

darktable-org/darktable cmake/modules/FindPortMidi.cmake :24

set_package_properties(PortMidi PROPERTIES
                       TYPE OPTIONAL
                       URL https://github.com/PortMidi/portmidi
                       DESCRIPTION "Portable MIDI library"
                       PURPOSE "Used for hardware MIDI input devices")

fluent/fluent-bit cmake/FindJournald.cmake :45

set_package_properties(Journald PROPERTIES URL https://github.com/systemd
  DESCRIPTION "Systemd logging daemon")

Syllo/nvtop cmake/modules/FindLibdrm.cmake :102

set_package_properties(Libdrm PROPERTIES
    URL "https://wiki.freedesktop.org/dri/"
    DESCRIPTION "Userspace interface to kernel DRM services"
)

dimtpap/obs-pipewire-audio-capture cmake/FindPipeWire.cmake :97

set_package_properties(
  PipeWire PROPERTIES
  URL "https://www.pipewire.org"
  DESCRIPTION "PipeWire - multimedia processing")

Sneeds-Feed-and-Seed/sneedacity lib-src/libsndfile/CMakeLists.txt :101

set_package_properties (Ogg PROPERTIES
	TYPE RECOMMENDED
	URL "www.xiph.org/ogg/"
	DESCRIPTION "library for manipulating ogg bitstreams"
	PURPOSE "Required to enable Vorbis, Speex, and Opus support"
	)

paxo-phone/PaxOS-8 src/lib/SDL2-2.28.2/cmake/sdl2-config.cmake :7

set_package_properties(SDL2 PROPERTIES
    URL "https://www.libsdl.org/"
    DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
)

fcitx/fcitx5 cmake/FindLibUUID.cmake :40

set_package_properties(LibUUID PROPERTIES
    URL "http://www.kernel.org/pub/linux/utils/util-linux/"
    DESCRIPTION "uuid library in util-linux"
)

GANGE666/xVMP src/utils/benchmark/cmake/Modules/FindLLVMAr.cmake :13

SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
  URL https://llvm.org/docs/CommandGuide/llvm-ar.html
  DESCRIPTION "create, modify, and extract from archives"
)

letoram/arcan src/platform/cmake/modules/FindWaylandProtocols.cmake :25

set_package_properties(WaylandProtocols PROPERTIES
   URL "https://cgit.freedesktop.org/wayland/wayland-protocols"
   DESCRIPTION "Wayland protocol development")

onnoj/DeusExEchelonRenderer EXTERNAL/SDL2-2.26.5/cmake/sdl2-config.cmake :7

set_package_properties(SDL2 PROPERTIES
    URL "https://www.libsdl.org/"
    DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
)

tanis2000/binocle-c src/deps/sdl/build-scripts/pkg-support/android/aar/cmake/SDL3Config.cmake :7

set_package_properties(SDL3 PROPERTIES
    URL "https://www.libsdl.org/"
    DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
)