From 697883faf1036e907231f6a389b28a49336bef03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Mon, 11 Nov 2024 17:46:16 +0100 Subject: [PATCH] Use c++17 standard --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dcb702f..e7ec357 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,10 @@ pkg_check_modules(avformat libavformat REQUIRED) pkg_check_modules(avutil libavutil REQUIRED) pkg_check_modules(swscale libswscale REQUIRED) +if(NOT CMAKE_CXX_STANDARD) + set(CMAKE_CXX_STANDARD 17) +endif() + ################################################### ## Declare things to be passed to other projects ## ###################################################