Unverified Commit 1b8efed0 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2318 from eli-schwartz/installfix

cmake: install pkg-config file relative to current_binary_dir
parents b3da8b32 7d01a9e8
...@@ -158,7 +158,7 @@ endif() ...@@ -158,7 +158,7 @@ endif()
DESTINATION ${NLOHMANN_JSON_CONFIG_INSTALL_DIR} DESTINATION ${NLOHMANN_JSON_CONFIG_INSTALL_DIR}
) )
install( install(
FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc" FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
DESTINATION ${NLOHMANN_JSON_PKGCONFIG_INSTALL_DIR} DESTINATION ${NLOHMANN_JSON_PKGCONFIG_INSTALL_DIR}
) )
endif() endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment