Fixed wrong dependency in cmake module.

This commit is contained in:
tastytea 2019-08-05 18:38:50 +02:00
parent 406c2486f7
commit 85b112faf0
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,8 @@
include(CMakeFindDependencyMacro) include(CMakeFindDependencyMacro)
include(GNUInstallDirs) include(GNUInstallDirs)
find_dependency(PkgConfig REQUIRED) find_dependency(ICU COMPONENTS uc i18n REQUIRED)
pkg_check_modules(libconfig++ REQUIRED IMPORTED_TARGET libconfig++) find_depencency(Poco COMPONENTS Foundation Net NetSSL CONFIG REQUIRED)
find_depencency(Poco COMPONENTS Net NetSSL Util CONFIG REQUIRED)
find_file(vsqlitepp NAMES "sqlite/connection.hpp" find_file(vsqlitepp NAMES "sqlite/connection.hpp"
PATHS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}") PATHS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")