Animated gifs are working now

This commit is contained in:
Torsten Schulz
2024-04-08 09:35:35 +02:00
parent ba976db321
commit e05a9429b9
5 changed files with 48 additions and 94 deletions

View File

@@ -1,9 +1,11 @@
cmake_minimum_required(VERSION 3.5)
project(singlechat.wt LANGUAGES CXX)
add_compile_options(-Wno-deprecated-declarations)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_COMPILER "/usr/bin/g++-12")
set(CMAKE_PREFIX_PATH "/usr")
add_executable(${PROJECT_NAME}
@@ -14,14 +16,16 @@ add_executable(${PROJECT_NAME}
docroot/ads.txt
docroot/links.csv
)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20)
find_package(Threads REQUIRED)
target_link_libraries(${PROJECT_NAME}
wt
wthttp
curl
xml2
${CMAKE_THREAD_LIBS_INIT}
)
find_package(Boost COMPONENTS system filesystem REQUIRED)