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^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=343d8cb7f3da4e29870c43c9a2596da70a986a03;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 405dc4e..68af27e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,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