From 09212812ce3208330c876fc26b8eaf7d6e0797c4 Mon Sep 17 00:00:00 2001 From: Driss Guessous <32754868+drisspg@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:24:45 -0700 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d418d48..d2e951d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -cmake_minimum_required(VERSION 3.26 FATAL_ERROR) +cmake_minimum_required(VERSION 3.22 FATAL_ERROR) project(simple_cuda LANGUAGES CXX CUDA) # Set the C++ standard for all targets set(CMAKE_CXX_STANDARD 20) @@ -62,4 +62,4 @@ foreach(EXAMPLE_SOURCE ${EXAMPLE_SOURCES}) # Link the library to the target target_link_libraries(${EXAMPLE_NAME} PRIVATE SimpleCudaLib) -endforeach() \ No newline at end of file +endforeach()