vcpkg/ports/log4cxx/pkgconfig.patch
NancyLi1013 d316fd1b70
[log4cxx] Fix dependency and pkgconfig (#16018)
* [Log4cxx] Fix dependency and pkgconfig

* Update versions
2021-02-03 11:14:54 -08:00

14 lines
408 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 523fbd9..0467470 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,7 +66,7 @@ if(UNIX)
)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/liblog4cxx.pc"
- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig)
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif(UNIX)
# Support for find_package(log4cxx) in consuming CMake projects using