Working on fixing stb
This commit is contained in:
@ -8,12 +8,10 @@ file(GLOB_RECURSE SOURCES *.c)
|
||||
add_library(src STATIC ${SOURCES})
|
||||
target_include_directories(src PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_link_libraries(src PUBLIC
|
||||
glfw
|
||||
cglm
|
||||
stb
|
||||
cglm
|
||||
duktape
|
||||
glad_gl_core_33
|
||||
stb
|
||||
)
|
||||
|
||||
# Set up flags
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
// Static Libs
|
||||
#include <glad/gl.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <duktape.h>
|
||||
#include <cglm/cglm.h>
|
||||
#include <stb_image.h>
|
||||
@ -26,12 +25,7 @@
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
// Windows Fixes
|
||||
# define strtok_r strtok_s
|
||||
|
||||
#if defined(Sleep)
|
||||
# define sleep(n) Sleep(n)
|
||||
#else
|
||||
# define sleep(n) _sleep(n)
|
||||
#endif
|
||||
# define sleep(n) Sleep(n)
|
||||
#else
|
||||
// Unix Fixes
|
||||
#include <unistd.h>
|
||||
|
Reference in New Issue
Block a user