Compare commits
2 Commits
bce883028f
...
ec09deb438
Author | SHA1 | Date | |
---|---|---|---|
ec09deb438 | |||
07d788da25 |
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)
|
||||
project(quik_stbi LANGUAGES C VERSION 1.0)
|
||||
|
||||
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
|
||||
add_compile_options(-static-libgcc -static-libstdc++)
|
||||
add_compile_options(-static-libgcc -static-libstdc++ -fno-exceptions)
|
||||
endif()
|
||||
|
||||
add_library(stbi SHARED "quik_stbi.c")
|
||||
|
@ -5,6 +5,9 @@
|
||||
|
||||
#define STBIDEF QEXTERN
|
||||
|
||||
#define STBI_NO_THREAD_LOCALS 1
|
||||
#define STBI_NO_FAILURE_STRINGS 1
|
||||
#define STBI_THREAD_LOCAL
|
||||
#include "stb/stb_image.h"
|
||||
|
||||
#endif
|
||||
|
2
stb
2
stb
@ -1 +1 @@
|
||||
Subproject commit ae721c50eaf761660b4f90cc590453cdb0c2acd0
|
||||
Subproject commit 013ac3beddff3dbffafd5177e7972067cd2b5083
|
Loading…
x
Reference in New Issue
Block a user