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.73.2-1+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6f374ff2869b5db0e8ac9942c091788050c8efbf;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 6444c37..6f0c92f 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