mirror of
https://github.com/olikraus/u8g2.git
synced 2026-10-26 22:10:25 +00:00
Merge pull request #2713 from marshfolx/master
Fix SDL compilation issue #2710
This commit is contained in:
2 files changed
+5
-1
No files matched your search
+4
-1
@@ -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
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
//#define HEIGHT (64)
|
||||
//#define WIDTH 128
|
||||
|
||||
Reference in new issue
Block a user