Skip to content
Snippets Groups Projects
  • Wolfgang Stöggl's avatar
    8b074b17
    Fix debug postfix in pkgconfig file · 8b074b17
    Wolfgang Stöggl authored
    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
    8b074b17
    History
    Fix debug postfix in pkgconfig file
    Wolfgang Stöggl authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.