From a9c7ef59a4ba214e02b820f5925772c47e75bc02 Mon Sep 17 00:00:00 2001
From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de>
Date: Thu, 19 Sep 2024 15:23:03 +0200
Subject: [PATCH] typo

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f10d604f..909a167da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,7 +87,7 @@ include (corsikaDefines)
 # check if compiler is C++17 compliant
 #
 include (CheckCXXCompilerFlag)
-check_CXX_compiler_flag ("--std=c++17" COMPILER_SUPPORTS_CXX17)
+check_CXX_compiler_flag ("-std=c++17" COMPILER_SUPPORTS_CXX17)
 if (NOT COMPILER_SUPPORTS_CXX17)
  message (FATAL "| CORSIKA8 > The compiler ${CMAKE_CXX_COMPILER} has no C++17 support. Please use a different C++ compiler.")
 endif ()
-- 
GitLab