File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ endif()
125125
126126include (GNUInstallDirs )
127127configure_file (lsqpack.pc.in lsqpack.pc @ONLY )
128+ install (FILES "${CMAKE_CURRENT_BINARY_DIR } /lsqpack.pc"
129+ DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig)
128130
129131install (TARGETS ls-qpack EXPORT ls-qpack-config
130132 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
@@ -147,7 +149,4 @@ endif()
147149
148150if (WIN32 )
149151 install (DIRECTORY wincompat/sys DESTINATION include)
150- else ()
151- install (FILES "${CMAKE_CURRENT_BINARY_DIR } /lsqpack.pc"
152- DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig)
153152endif ()
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ Name: @PROJECT_NAME@
77Description : @CMAKE_PROJECT_DESCRIPTION@
88URL : @CMAKE_PROJECT_HOMEPAGE_URL@
99Version : @PROJECT_VERSION@
10- Requires : @LSQPACK_DEPENDS @
10+ Requires.private : @LSQPACK_DEPENDS @
1111Cflags : -I "${ includedir} "
12- Libs : -L "${ libdir} " -l lsqpack
12+ Libs : -L "${ libdir} " -l ls-qpack
You can’t perform that action at this time.
0 commit comments