From e968aef0cba084ac1c6810bb1482bc25b338f3b5 Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Thu, 14 Feb 2019 17:46:28 +0800 Subject: Fix pkg check issue Change-Id: Id2e6e1e9b716821c9985cfd8711530228f1dd877 Signed-off-by: Hongjun Ni --- src/plugins/CMakeLists.txt | 2 +- src/scvpp/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 08003f7..22ba207 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../cmake") find_package(VPP) find_package(PkgConfig) pkg_check_modules(SYSREPO REQUIRED libsysrepo) -pkg_check_modules(SCVPP REQUIRED libscvpp) +#pkg_check_modules(SCVPP REQUIRED libscvpp) # get sysrepo plugins directory from pkgconfig if (NOT SR_PLUGINS_DIR) diff --git a/src/scvpp/CMakeLists.txt b/src/scvpp/CMakeLists.txt index 6064beb..1256fc8 100644 --- a/src/scvpp/CMakeLists.txt +++ b/src/scvpp/CMakeLists.txt @@ -36,5 +36,5 @@ find_package(PkgConfig QUIET) if(PKG_CONFIG_FOUND) # generate and install pkg-config file configure_file("libscvpp.pc.in" "libscvpp.pc" @ONLY) - #install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libscvpp.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libscvpp.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") endif() -- cgit