summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/Jamfile.jam6
-rw-r--r--thirdparty/stb_image.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam
index 417ef9c..8b76449 100644
--- a/thirdparty/Jamfile.jam
+++ b/thirdparty/Jamfile.jam
@@ -6,3 +6,9 @@ lib glad : gl.xml :
<warnings-as-errors>off
<glad.version>3.3
;
+lib stb : stb_image.c :
+ <link>static
+ <cflags>-fPIC
+ <warnings>off
+ <warnings-as-errors>off
+ ;
diff --git a/thirdparty/stb_image.c b/thirdparty/stb_image.c
new file mode 100644
index 0000000..38c72e9
--- /dev/null
+++ b/thirdparty/stb_image.c
@@ -0,0 +1,2 @@
+#define STB_IMAGE_IMPLEMENTATION
+#include "stb/stb_image.h"