From: Mihai Moldovan Date: Tue, 29 Sep 2020 16:30:16 +0000 (+0200) Subject: [PATCH] CMakeLists.txt: append libsolv cmake path X-Git-Tag: archive/raspbian/0.69.0-2+rpi1~1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=48b28b15f6f70a9dd49ca031dd133e90d9532760;p=libdnf.git [PATCH] CMakeLists.txt: append libsolv cmake path Make sure cmake finds FindLibSolv.cmake installed in ${CMAKE_INSTALL_PREFIX}/share/cmake/libsolv. Gbp-Pq: Name 0001-CMakeLists.txt-append-libsolv-cmake-path.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dd55c5..00ab52f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ if(APPLE) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH};/usr/local/share/cmake/Modules/) include_directories(/usr/local/include) endif() +LIST (APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/share/cmake/libsolv/") # build dependencies