Merge pull request #2713 from marshfolx/master

Fix SDL compilation issue #2710
This commit is contained in:
olikraus authored and GitHub committed 2025-10-21 21:44:22 +02:00
commit c3d4b1fd8e
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -16,7 +16,10 @@ if(COMMAND register_component)
register_component()
else()
add_library(u8g2 ${COMPONENT_SRCS})
target_include_directories(u8g2 PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/csrc>" "$<INSTALL_INTERFACE:include>")
target_include_directories(u8g2 PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/csrc>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/cppsrc>"
"$<INSTALL_INTERFACE:include>")
endif()
install(TARGETS u8g2
+1
View File
@@ -7,6 +7,7 @@
#include "SDL.h"
#endif
#include <assert.h>
#include <stdio.h>
//#define HEIGHT (64)
//#define WIDTH 128