diff options
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: |