tsp/CMakeLists.txt

12 lines
319 B
CMake

cmake_minimum_required(VERSION 3.25)
project(tsp)
set(CMAKE_CXX_STANDARD 23)
find_package(Qt6 REQUIRED COMPONENTS Core Widgets)
find_package(SDL2 COMPONENTS SDL2 REQUIRED)
set(CMAKE_AUTOMOC ON)
add_executable(tsp main.cpp renderwindow.cpp renderwindow.h)
target_link_libraries(tsp Qt6::Core Qt6::Widgets SDL2::SDL2)