cmake_minimum_required(VERSION 3.31) project(Aufgabe_6) set(CMAKE_CXX_STANDARD 17) add_executable(Aufgabe_6 main.cpp) find_package(OpenMP REQUIRED) if (OpenMP_CXX_FOUND) target_link_libraries(Aufgabe_6 OpenMP::OpenMP_CXX) endif()