diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e1da161..f0206876 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) ### External dependency: rpm-devel find_package(PkgConfig REQUIRED) pkg_check_modules(RPM REQUIRED rpm) +find_package(OpenSSL REQUIRED) pkg_check_modules(LIBXML2 REQUIRED libxml-2.0) include_directories(${RPM_INCLUDE_DIRS}) include_directories(${LIBXML2_INCLUDE_DIRS}) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index c8063281..2d21d0ca 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -8,10 +8,6 @@ include_directories(${CMAKE_SOURCE_DIR}/include) -find_package(OpenSSL REQUIRED) - -find_package(LIBXML2 REQUIRED) - #make config.h with #PACKAGE_NAME and PACKAGE_VERSION defined configure_file(