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."
)

nextcloud/desktop CMakeLists.txt :267

set_package_properties(Qt${QT_VERSION_MAJOR}WebEngineCore PROPERTIES
            DESCRIPTION "Qt${QT_VERSION_MAJOR} WebEngineCore component."
            TYPE RECOMMENDED
        )

KDE/kio-gdrive CMakeLists.txt :44

set_package_properties(KF6Purpose PROPERTIES TYPE RECOMMENDED PURPOSE "Enables the Share menu plugin.")

tsujan/BreezeEnhanced CMakeLists.txt :35

set_package_properties(KF6KCMUtils PROPERTIES
    TYPE REQUIRED
    DESCRIPTION "Helps create configuration modules"
    PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style"
)

ThePhD/sol2 cmake/Packages/FindSphinx.cmake :58

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

KDE/kdeconnect-kde CMakeLists.txt :54

set_package_properties(KF6Kirigami2 PROPERTIES
    DESCRIPTION "QtQuick plugins to build user interfaces based on KDE UX guidelines"
    PURPOSE "Required for KDE Connect's QML-based GUI applications"
    URL "https://www.kde.org/products/kirigami/"
    TYPE RUNTIME
)

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"
)

KDE/kdenlive CMakeLists.txt :147

set_package_properties(MLT PROPERTIES DESCRIPTION "Multimedia framework"
                URL "https://mltframework.org"
                PURPOSE "Required to do video processing")

nghttp2/nghttp2 cmake/FindSystemd.cmake :8

set_package_properties(Systemd PROPERTIES
        URL "http://freedesktop.org/wiki/Software/systemd/"
        DESCRIPTION "System and Service Manager")

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/discover CMakeLists.txt :45

set_package_properties(KF6KirigamiAddons PROPERTIES
    TYPE REQUIRED
    PURPOSE "Provides additional visual components"
)

AliceO2Group/AliceO2 dependencies/FindO2GPU.cmake :192

set_package_properties(OpenCL PROPERTIES 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/"
)

OpenSpace/OpenSpace support/cmake/FindLibmpv.cmake :75

set_package_properties(Libmpv PROPERTIES
    URL "https://mpv.io"
    DESCRIPTION "mpv media player client library"
)

aklomp/base64 CMakeLists.txt :40

set_package_properties(OpenMP PROPERTIES
    TYPE OPTIONAL
    PURPOSE "Allows to utilize OpenMP"
)

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 :77

set_package_properties(KSysGuard PROPERTIES
    DESCRIPTION "Components to monitor the system"
    TYPE REQUIRED
)

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.")

PacktPublishing/The-Modern-Vulkan-Cookbook source/chapter8/app/src/main/cpp/thirdparty/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."
)

logicalclocks/rondb extra/base64/CMakeLists.txt :40

set_package_properties(OpenMP PROPERTIES
    TYPE OPTIONAL
    PURPOSE "Allows to utilize OpenMP"
)

CDrummond/cantata cmake/MacroLogFeature.cmake :96

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

qbittorrent/qBittorrent cmake/Modules/CheckPackages.cmake :27

set_package_properties("LibtorrentRasterbar via pkg-config (version >= ${version})"
                PROPERTIES
                TYPE REQUIRED
            )

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")

KDE/plasma-framework CMakeLists.txt :75

set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
                        URL "https://www.x.org/"
                        TYPE OPTIONAL
                        )

dokutan/mouse_m908 CMakeLists.txt :19

set_package_properties(LibUSB PROPERTIES TYPE REQUIRED)

KDE/krdp CMakeLists.txt :16

set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules")

cvet/fonline ThirdParty/mongo-c-driver/src/libmongoc/CMakeLists.txt :242

set_package_properties(
   OpenSSL PROPERTIES
   DESCRIPTION "the standard open-source implementation of TLS, X509, and more"
   TYPE OPTIONAL
   PURPOSE "Provides a cryptography and TLS backend"
)

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"
)

robotology/idyntree cmake/FindTinyXML.cmake :37

set_package_properties(TinyXML PROPERTIES DESCRIPTION "A small, simple XML parser for the C++ language"
                                              URL "http://www.grinninglizard.com/tinyxml/index.html")

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
)

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/"
)

ffAudio/foleys_gui_magic CMakeIncludes/config.cmake :53

set_package_properties ("${CMAKE_FIND_PACKAGE_NAME}" 
						PROPERTIES 
							URL "https://foleysfinest.com/developer/pluginguimagic/"
                        	DESCRIPTION "A GUI builder module for JUCE")

ompl/omplapp CMakeLists.txt :59

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

Nitrux/nx-software-center CMakeLists.txt :55

set_package_properties(Qt5QuickCompiler PROPERTIES
                DESCRIPTION "Compile QML at build time"
                TYPE OPTIONAL
        )

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.")

mariokonrad/marnav extern/benchmark-1.6.0/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"
)

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"
)

KhronosGroup/OpenXR-Tutorials Chapter6_1_Multiview/cmake/FindEGL.cmake :172

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."
)

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/qtwebkit Source/cmake/OptionsQt.cmake :997

set_package_properties(Ruby PROPERTIES TYPE REQUIRED)

CGAL/cgal Lab/demo/Lab/CMakeLists.txt :37

set_package_properties(CGAL PROPERTIES TYPE REQUIRED)

tome2/tome2 CMakeLists.txt :67

SET_PACKAGE_PROPERTIES(Boost PROPERTIES TYPE REQUIRED)

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")

FreeRDP/FreeRDP cmake/FindFeature.cmake :62

set_package_properties(${_feature} PROPERTIES TYPE ${_type} PURPOSE "${_purpose}" DESCRIPTION "${_description}")

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")

xiph/opus CMakeLists.txt :260

set_package_properties(Git
                       PROPERTIES
                       TYPE
                       REQUIRED
                       DESCRIPTION
                       "fast, scalable, distributed revision control system"
                       URL
                       "https://git-scm.com/"
                       PURPOSE
                       "required to set up package version")

FreeRDP/Remmina cmake/FindFeature.cmake :53

set_package_properties(${_feature} PROPERTIES
			TYPE ${_type}
			PURPOSE "${_purpose}"
			DESCRIPTION "${_description}")

porres/pd-else Source/Shared/opus/CMakeLists.txt :252

set_package_properties(Git
                       PROPERTIES
                       TYPE
                       REQUIRED
                       DESCRIPTION
                       "fast, scalable, distributed revision control system"
                       URL
                       "https://git-scm.com/"
                       PURPOSE
                       "required to set up package version")

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")

8bitbubsy/pt2-clone pt_pal_editor/release/macos/pt_pal_editor-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/CMake/sdl2-config.cmake :8

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

mongodb/mongo-c-driver src/libmongoc/CMakeLists.txt :242

set_package_properties(
   OpenSSL PROPERTIES
   DESCRIPTION "the standard open-source implementation of TLS, X509, and more"
   TYPE OPTIONAL
   PURPOSE "Provides a cryptography and TLS backend"
)

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"
)