diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 16:13:22 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 18:27:40 +0200 |
commit | 9edb5f57127489dec4b7cbdc1e60920e6002abea (patch) | |
tree | 712d3aaeb2d5caa9adc80f2c6e1e4412b54efb97 /modules/ECMGeneratePkgConfigFile.cmake | |
parent | 0ec7ce6f1e2b5b1c914897e7a58f62835cc27ce5 (diff) | |
download | extra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.gz extra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.bz2 |
API dox: use more markup for code or commandline samples
NO_CHANGELOG
Diffstat (limited to 'modules/ECMGeneratePkgConfigFile.cmake')
-rw-r--r-- | modules/ECMGeneratePkgConfigFile.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ECMGeneratePkgConfigFile.cmake b/modules/ECMGeneratePkgConfigFile.cmake index 8c303981..1b59da8d 100644 --- a/modules/ECMGeneratePkgConfigFile.cmake +++ b/modules/ECMGeneratePkgConfigFile.cmake @@ -47,7 +47,7 @@ also ``INSTALL``. ``INCLUDE_INSTALL_DIR`` specifies where the includes will be installed. If it's not specified, it will default to ``INSTALL_INCLUDEDIR``, ``CMAKE_INSTALL_INCLUDEDIR`` or just "include/" in case they are specified, -with the BASE_NAME postfixed. +with the ``BASE_NAME`` postfixed. ``LIB_INSTALL_DIR`` specifies where the library is being installed. If it's not specified, it will default to ``LIB_INSTALL_DIR``, @@ -66,13 +66,13 @@ package. Defaults to "https://www.kde.org/". Since 5.89.0. ``INSTALL`` will cause the module to be installed to the ``pkgconfig`` subdirectory of ``LIB_INSTALL_DIR``, unless the ``ECM_PKGCONFIG_INSTALL_DIR`` cache variable is set to something different. Note that the first call to -ecm_generate_pkgconfig_file with the ``INSTALL`` argument will cause +``ecm_generate_pkgconfig_file()`` with the ``INSTALL`` argument will cause ``ECM_PKGCONFIG_INSTALL_DIR`` to be set to the cache, and will be used in any subsequent calls. To properly use this macro a version needs to be set. To retrieve it, ``ECM_PKGCONFIG_INSTALL_DIR`` uses ``PROJECT_VERSION``. To set it, use the -project() command or the ecm_setup_version() macro +``project()`` command or the ``ecm_setup_version()`` macro Example usage: |