Newer
Older
cmake_minimum_required(VERSION 3.0)
find_package(libnetplus REQUIRED)
find_package(libcryptplus REQUIRED)
find_package(httppp REQUIRED)
project(guestbook)
add_executable(guestbook main.cpp)
target_include_directories(guestbook
PUBLIC
${httppp_INCLUDE_DIRECTORIES}
${htmlpp_INCLUDE_DIRECTORIES}
${netplus_INCLUDE_DIRECTORIES}
)
target_link_libraries(guestbook ${httppp_LIBRARIES} netplus htmlpp)