remwharead/cmake/remwhareadConfig.cmake.in
tastytea b4e845a352
Some checks failed
continuous-integration/drone/push Build is failing
Updated CMake recipes and changed file structure.
2019-08-03 22:27:08 +02:00

16 lines
484 B
CMake

include(CMakeFindDependencyMacro)
include(GNUInstallDirs)
find_dependency(PkgConfig REQUIRED)
pkg_check_modules(libconfig++ REQUIRED IMPORTED_TARGET libconfig++)
pkg_check_modules(curlpp REQUIRED IMPORTED_TARGET curlpp)
find_file(vsqlitepp NAMES "sqlite/connection.hpp"
PATHS ${CMAKE_INSTALL_INCLUDEDIR})
if("${vsqlitepp}" STREQUAL "vsqlitepp-NOTFOUND")
message(FATAL_ERROR "Could not find vsqlite++.")
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")