Newer
Older
cmake_minimum_required(VERSION 3.18)
project(blogi)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(libnetplus REQUIRED)
find_package(libcryptplus REQUIRED)
find_package(htmlpp REQUIRED)
find_package(httppp REQUIRED)
find_package(PostgreSQL REQUIRED)
find_package(OpenLDAP REQUIRED)
find_package(OpenSSL REQUIRED)
include_directories(
${NETPLUS_INCLUDE_DIRS}
${CRYPTPLUS_INCLUDE_DIRS}
${PostgreSQL_INCLUDE_DIRS}
${OPENLDAP_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/src
)
add_subdirectory(src)
add_subdirectory(plugins)
add_subdirectory(tests)