From d9a3edd14063c34e5ab5dc40f35c79ff36efe016 Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 21 Feb 2025 14:10:42 +0100 Subject: [PATCH] SDL Static not yet working --- CMakeLists.txt | 2 +- lib/sdl-cmake | 1 - src/main.c | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 160000 lib/sdl-cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bb88cf..d645888 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ add_compile_definitions(DLV_CONF_PATH="${CMAKE_CURRENT_SOURCE_DIR}/include/lv_co include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/) # set 1 to compile static (Standalone) -set(BIN_STATIC 0) +set(BIN_STATIC 0) # TODO Static # Set binary suffix based on the operating system if(CMAKE_SYSTEM_NAME STREQUAL "Windows") diff --git a/lib/sdl-cmake b/lib/sdl-cmake deleted file mode 160000 index ad006a3..0000000 --- a/lib/sdl-cmake +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ad006a3daae65a612ed87415037e32188b81071e diff --git a/src/main.c b/src/main.c index 3970690..79eeadd 100644 --- a/src/main.c +++ b/src/main.c @@ -9,8 +9,7 @@ #endif #include #include - -#include +#include // Define MAX and MIN macros #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))