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/gdal.cmake :16

set_package_properties(GDAL PROPERTIES TYPE REQUIRED
    PURPOSE "Provides general purpose raster, vector, and reference system support")

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

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

KDE/k3b CMakeLists.txt :104

set_package_properties(${KCDDB_TARGET_NAME} PROPERTIES
    DESCRIPTION "Latest branch for CDDB library"
    URL "https://commits.kde.org/libkcddb"
    TYPE REQUIRED
    PURPOSE "libkcddb is used to retrieve audio CD meta data from the internet.")

KDE/plasma-workspace CMakeLists.txt :97

set_package_properties(KF6KirigamiAddons PROPERTIES
    DESCRIPTION "Extra controls for Kirigami applications"
    PURPOSE "Required at runtime for the User KCM"
    TYPE RUNTIME
)

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

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

KDE/marble CMakeLists.txt :108

set_package_properties(KF6 PROPERTIES
    PURPOSE "Required for building the applications"
    TYPE RECOMMENDED
)

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/examples/CMakeLists.txt :28

set_package_properties(Qt5OpenGL PROPERTIES TYPE RECOMMENDED PURPOSE "Building the examples")

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

KDE/okteta kasten/CMakeLists.txt :14

set_package_properties(BZip2 PROPERTIES
    TYPE REQUIRED
    PURPOSE "BZip2 compressed stream encoding"
)

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
)

ompl/omplapp CMakeLists.txt :59

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

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/FindPFM.cmake :11

set_package_properties(PFM PROPERTIES
                       URL http://perfmon2.sourceforge.net/
                       DESCRIPTION "A helper library to develop monitoring tools"
                       PURPOSE "Used to program specific performance monitoring events")

tomahawk-player/tomahawk CMakeModules/MacroLogFeature.cmake :96

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

qt/qtwebkit Source/cmake/OptionsQt.cmake :998

set_package_properties(Qt5PrintSupport PROPERTIES PURPOSE "Required for ENABLE_PRINT_SUPPORT=ON")

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

set_package_properties(
  Qt6 PROPERTIES
  TYPE REQUIRED
  PURPOSE "Enables the 3D Features, for GUI and visualization."
  DESCRIPTION "To find this package, it should be sufficient to fill the Qt6_DIR variable with: <Qt_dir>/<Qt_version>/<Compilator>/lib/cmake/Qt6")

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

FreeRDP/FreeRDP cmake/FindFeature.cmake :62

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

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

FreeRDP/Remmina cmake/FindFeature.cmake :53

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