Move clay to vendor directory

This commit is contained in:
LilyRose2798 2025-03-05 10:50:12 +11:00
parent 0621e9c993
commit e5e75feda6
5 changed files with 4 additions and 3 deletions

View file

@ -75,6 +75,7 @@ else()
message(STATUS "Unsupported platform") message(STATUS "Unsupported platform")
endif() endif()
target_include_directories(${PROJECT_NAME} PRIVATE "vendor")
target_link_libraries(${PROJECT_NAME} PRIVATE target_link_libraries(${PROJECT_NAME} PRIVATE
SDL3::SDL3-static SDL3::SDL3-static
SDL3_ttf::SDL3_ttf-static SDL3_ttf::SDL3_ttf-static

4
main.c
View file

@ -5,8 +5,8 @@
#include <SDL3_ttf/SDL_ttf.h> #include <SDL3_ttf/SDL_ttf.h>
#define CLAY_IMPLEMENTATION #define CLAY_IMPLEMENTATION
#include "clay/clay.h" #include <clay/clay.h>
#include "clay/clay_renderer_SDL3.c" #include <clay/clay_renderer_SDL3.c>
#include "ui/clay_video_demo.c" #include "ui/clay_video_demo.c"

View file

@ -1,4 +1,4 @@
#include "../clay/clay.h" #include <clay/clay.h>
#include <stdlib.h> #include <stdlib.h>
const int FONT_ID_BODY_16 = 0; const int FONT_ID_BODY_16 = 0;

View file