Allow for CMake to use absolute install paths (#486)

Generated libcares.pc could have bad paths when using absolute paths.

Fix By: Jonathan Ringer (@jonringer)
pull/494/head
Jonathan Ringer 2 years ago committed by GitHub
parent 3400e07f6a
commit a1675ba107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      libcares.pc.cmake

@ -4,10 +4,9 @@
# | (_|_____| (_| | | | __/\__ \ # | (_|_____| (_| | | | __/\__ \
# \___| \__,_|_| \___||___/ # \___| \__,_|_| \___||___/
# #
prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
exec_prefix=${prefix}/@CMAKE_INSTALL_BINDIR@ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: c-ares Name: c-ares
URL: https://c-ares.org/ URL: https://c-ares.org/

Loading…
Cancel
Save