From 9f64660938131ae290cd5c0f9d40b87d65d15772 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Fri, 10 Sep 2021 12:19:12 +0200 Subject: [PATCH] use project to set language --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07ae70a..9a0f674 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,7 @@ if(NOT DEFINED CMAKE_TOOLCHAIN_FILE) "${CMAKE_CURRENT_SOURCE_DIR}/cmake/toolchain.cmake") endif() -enable_language(CXX) -project(pacman) +project(pacman LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON)