diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b840368..d276af52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,7 @@ endif() set(SOURCE_FILES src/main.cpp src/emulator.cpp src/io_file.cpp src/gl_state.cpp src/config.cpp src/core/CPU/cpu_dynarmic.cpp src/core/CPU/dynarmic_cycles.cpp src/core/memory.cpp - src/httpserver.cpp + src/httpserver.cpp src/stb_image_write.c ) set(CRYPTO_SOURCE_FILES src/core/crypto/aes_engine.cpp) set(KERNEL_SOURCE_FILES src/core/kernel/kernel.cpp src/core/kernel/resource_limits.cpp diff --git a/src/emulator.cpp b/src/emulator.cpp index 502e7900..0311f6e9 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -1,5 +1,5 @@ #include "emulator.hpp" -#define STB_IMAGE_WRITE_IMPLEMENTATION + #include #ifdef _WIN32 diff --git a/src/stb_image_write.c b/src/stb_image_write.c new file mode 100644 index 00000000..2f540c3c --- /dev/null +++ b/src/stb_image_write.c @@ -0,0 +1,2 @@ +#define STB_IMAGE_WRITE_IMPLEMENTATION +#include \ No newline at end of file