pkg-config.pc.in: Don't concatenate paths

See: https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path
This commit is contained in:
Doron Behar 2021-03-29 21:43:49 +00:00 committed by GitHub
parent 3f33c21725
commit 53a9850eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
Name: ${PROJECT_NAME} Name: ${PROJECT_NAME}
Description: JSON for Modern C++ Description: JSON for Modern C++
Version: ${PROJECT_VERSION} Version: ${PROJECT_VERSION}
Cflags: -I${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR} Cflags: -I${CMAKE_INSTALL_FULL_INCLUDEDIR}