mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
8b074b171f
In case of USE_POSTFIX, the POSTFIX is dependent on the CMAKE_BUILD_TYPE. Use the correct POSTFIX also in the generated pugixml.pc file. This results in the following contents of pugixml.pc: - Release: Libs: -L${libdir} -lpugixml - RelWithDebInfo Libs: -L${libdir} -lpugixml_r - MinSizeRel: Libs: -L${libdir} -lpugixml_m - Debug: Libs: -L${libdir} -lpugixml_d
12 lines
377 B
PkgConfig
12 lines
377 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@@INSTALL_SUFFIX@
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@@INSTALL_SUFFIX@
|
|
|
|
Name: pugixml
|
|
Description: Light-weight, simple and fast XML parser for C++ with XPath support.
|
|
URL: https://pugixml.org/
|
|
Version: @pugixml_VERSION@
|
|
Cflags: -I${includedir}
|
|
Libs: -L${libdir} -lpugixml@LIB_POSTFIX@
|