Init
This commit is contained in:
11
CMakeLists.txt
Normal file
11
CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.31)
|
||||
project(sdlzasedaco C)
|
||||
|
||||
set(CMAKE_C_STANDARD 23)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(SDL2 REQUIRED sdl2)
|
||||
|
||||
add_executable(sdlzasedaco main.c) # Ensure the target is defined before linking
|
||||
|
||||
target_link_libraries(sdlzasedaco SDL2 SDL2_ttf)
|
Reference in New Issue
Block a user