cmake set_package_properties examples

Signatures

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

Examples

PDAL/PDAL cmake/libxml2.cmake :10

set_package_properties(LibXml2 PROPERTIES TYPE OPTIONAL)

nextcloud/desktop CMakeLists.txt :368

set_package_properties(systemd PROPERTIES
        DESCRIPTION "Systemd development files needed to install user service"
        TYPE OPTIONAL
    )

KDE/kdeplasma-addons CMakeLists.txt :99

set_package_properties(ICU
        PROPERTIES DESCRIPTION "Unicode and Globalization support for software applications"
        TYPE OPTIONAL
        PURPOSE "Provides alternate calendar systems that are not available in QCalendar"
        )

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

set_package_properties(UHD PROPERTIES
    PURPOSE "Used for communication with front-ends of the USRP family."
    TYPE OPTIONAL
)

sandialabs/InterSpec external_libs/Minuit2/doc/CMakeLists.txt :8

set_package_properties(Doxygen PROPERTIES
    URL "http://www.doxygen.org"
    DESCRIPTION "Documentation generator"
    TYPE OPTIONAL
    PURPOSE "Requires CMake 3.9, adds docs target")

opensim-org/opensim-core doc/CMakeLists.txt :267

set_package_properties(LATEX PROPERTIES
            URL https://www.latex-project.org/
            TYPE OPTIONAL
            PURPOSE "Building the MocoCheatSheet PDF.")

root-project/root math/minuit2/doc/CMakeLists.txt :8

set_package_properties(Doxygen PROPERTIES
    URL "http://www.doxygen.org"
    DESCRIPTION "Documentation generator"
    TYPE OPTIONAL
    PURPOSE "Requires CMake 3.9, adds docs target")

KDE/k3b CMakeLists.txt :78

set_package_properties(Qt6WebEngineWidgets PROPERTIES
    DESCRIPTION "QtWebEngineWidgets is used for prettier k3bdiskinfoview."
    TYPE OPTIONAL)

KDE/plasma-workspace CMakeLists.txt :104

set_package_properties(KF6NetworkManagerQt PROPERTIES
    DESCRIPTION "Qt wrapper for NetworkManager API"
    PURPOSE "Needed for location-based time zone changes."
    TYPE OPTIONAL
)

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

set_package_properties(LATEX PROPERTIES
            URL https://www.latex-project.org/
            TYPE OPTIONAL
            PURPOSE "Building the MocoCheatSheet PDF.")

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

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

KDE/marble CMakeLists.txt :114

set_package_properties(Protobuf PROPERTIES TYPE OPTIONAL PURPOSE "Parsing of OSM PBF files.")

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/include/CMakeLists.txt :133

set_package_properties(Doxygen PROPERTIES URL http://www.doxygen.org DESCRIPTION "API documentation generator" TYPE OPTIONAL PURPOSE "Building the API documentation")

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

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

OtterBrowser/otter-browser CMakeLists.txt :81

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

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
)

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

set_package_properties(Speex PROPERTIES TYPE OPTIONAL
	URL "www.speex.org/"
	DESCRIPTION "an audio codec tuned for speech"
	PURPOSE "Enables experemental Speex support"
	)

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

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

set_package_properties(Speex PROPERTIES TYPE OPTIONAL
	URL "www.speex.org/"
	DESCRIPTION "an audio codec tuned for speech"
	PURPOSE "Enables experemental Speex support"
	)