2019-08-03 20:10:20 +02:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
|
2019-08-05 18:38:50 +02:00
|
|
|
find_depencency(Poco COMPONENTS Foundation Net NetSSL CONFIG REQUIRED)
|
2019-08-06 11:36:12 +02:00
|
|
|
find_dependency(PkgConfig REQUIRED)
|
|
|
|
pkg_check_modules(libxdg-basedir REQUIRED IMPORTED_TARGET libxdg-basedir)
|
2019-08-03 20:10:20 +02:00
|
|
|
|
|
|
|
find_file(vsqlitepp NAMES "sqlite/connection.hpp"
|
2019-08-04 22:25:04 +02:00
|
|
|
PATHS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
|
2019-08-03 20:10:20 +02:00
|
|
|
|
|
|
|
if("${vsqlitepp}" STREQUAL "vsqlitepp-NOTFOUND")
|
|
|
|
message(FATAL_ERROR "Could not find vsqlite++.")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|