# this template is filled-in by CMake `configure_file(... @ONLY)` # the `@....@` are filled in by CMake configure_file(), # from variables set in your CMakeLists.txt or by CMake itself # # Good tutoral for understanding .pc files: # https://people.freedesktop.org/~dbn/pkg-config-guide.html prefix="@CMAKE_INSTALL_PREFIX@" exec_prefix="${prefix}" libdir="${prefix}/lib" includedir="${prefix}/include" Name: @PROJECT_NAME@ Description: @CMAKE_PROJECT_DESCRIPTION@ URL: @CMAKE_PROJECT_HOMEPAGE_URL@ Version: @PROJECT_VERSION@ Requires: @pc_req_public@ Requires.private: @pc_req_private@ Cflags: -I"${includedir}" Libs: -L"${libdir}" -l@pc_target@ Libs.private: -L"${libdir}" -l@pc_target@ @pc_libs_private@