vcpkg/ports/easyloggingpp/0003_fix_pkgconfig.patch

11 lines
380 B
Diff
Raw Normal View History

diff --git a/cmake/easyloggingpp.pc.cmakein b/cmake/easyloggingpp.pc.cmakein
index 61000ce..f7f8d0c 100644
--- a/cmake/easyloggingpp.pc.cmakein
+++ b/cmake/easyloggingpp.pc.cmakein
@@ -4,3 +4,5 @@ Version: @ELPP_VERSION_STRING@
prefix=@CMAKE_INSTALL_PREFIX@
includedir=@ELPP_INCLUDE_INSTALL_DIR@
Cflags: -I${includedir}
+libdir=${prefix}/lib
+Libs: -L${libdir} -leasyloggingpp