From 84dff407d4507229cfca85e811bb6fc3b3f778ce Mon Sep 17 00:00:00 2001 From: "Joshua T. Fisher" Date: Fri, 7 Mar 2025 22:27:28 -0800 Subject: [PATCH] Fixup the mingw readme cmakelists (cherry picked from commit 7746a9656eefb75cfe3c58e173167a391db296a9) --- docs/INTRO-mingw.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/INTRO-mingw.md b/docs/INTRO-mingw.md index 27cd2c9d2e..d7c535dd3d 100644 --- a/docs/INTRO-mingw.md +++ b/docs/INTRO-mingw.md @@ -16,19 +16,19 @@ pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x ## Create the file CMakeLists.txt ```cmake -project(sdl_test C CXX) cmake_minimum_required(VERSION 3.26) +project(hello C CXX) find_package(SDL3 REQUIRED) -add_executable(sdl_test) +add_executable(hello) -target_sources(sdl_test +target_sources(hello PRIVATE hello.c ) -target_link_libraries(sdl_test SDL3::SDL3) +target_link_libraries(hello SDL3::SDL3) ``` ## Configure and Build: