From: Rosen Penev Date: Mon, 10 Feb 2020 05:21:09 +0000 (-0800) Subject: libnl-tiny: install pkgconfig file X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2584ebc642b2eac6455cd15a7d6bd3b30369cb9d;p=project%2Flibnl-tiny.git libnl-tiny: install pkgconfig file This will allow getting rid of InstallDev in the Makefile. It also allows compilation with CMAKE_BINARY_SUBDIR. Signed-off-by: Rosen Penev --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 10bf4e8..581015c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ CONFIGURE_FILE( ) INSTALL(TARGETS nl-tiny LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +INSTALL(FILES ${CMAKE_BINARY_DIR}/libnl-tiny.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) INSTALL( DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libnl-tiny