From 5ee89bb1ddc97fb507d6750462d38e44d2142814 Mon Sep 17 00:00:00 2001 From: Patrix Date: Mon, 5 Aug 2024 03:11:42 +0200 Subject: [PATCH] moved setting variable after defining the project in CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77db367..a9da10c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.21) +project(squirrel-template) + set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED TRUE) -project(squirrel-template) - file(GLOB_RECURSE SRC "include/*.h"