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()