aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2021-05-06 13:40:23 +0200
committerlns <matzeton@googlemail.com>2021-05-06 13:40:23 +0200
commita1dbf3f04bde8f98c11f43722e90b20dc832e78c (patch)
tree82698dc88f2770bf99841ae4db7a14ffb8a42842 /CMakeLists.txt
parentc0483779dac4d8fd5fcc736ae5ffa8ddede0e511 (diff)
Blog, Content, ContentManager skeleton!
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 376875d..ae0b1c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.9)
+cmake_minimum_required(VERSION 3.1.9)
project(cpp-web)
if(NOT CMAKE_BUILD_TYPE)
@@ -16,7 +16,7 @@ if(NOT EXISTS "${INJA_SRCDIR}/single_include/inja/inja.hpp")
endif()
include_directories(${CPP_HTTPLIB_SRCDIR} ${INJA_SRCDIR}/single_include ${INJA_SRCDIR}/third_party/include)
-file(GLOB SOURCES "src/*.cpp")
+file(GLOB_RECURSE SOURCES "src/*.cpp")
add_executable(cpp-web ${SOURCES})
#target_compile_definitions(cpp-web PUBLIC CPPHTTPLIB_THREAD_POOL_COUNT=4)
if(CMAKE_BUILD_TYPE MATCHES Release)