remove libspng mentions from Windows build
This commit is contained in:
parent
6e07ea1a44
commit
d0dbe549a1
@ -24,7 +24,6 @@ if (WIN32)
|
|||||||
set(LUA_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/packages/luajit_x64-windows/lib/lua51.lib")
|
set(LUA_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/packages/luajit_x64-windows/lib/lua51.lib")
|
||||||
set(LUA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/packages/luajit_x64-windows/include/luajit")
|
set(LUA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/packages/luajit_x64-windows/include/luajit")
|
||||||
find_package(glfw3 REQUIRED)
|
find_package(glfw3 REQUIRED)
|
||||||
find_package(spng REQUIRED)
|
|
||||||
find_package(glm REQUIRED)
|
find_package(glm REQUIRED)
|
||||||
find_package(vorbis REQUIRED)
|
find_package(vorbis REQUIRED)
|
||||||
set(VORBISLIB Vorbis::vorbis Vorbis::vorbisfile)
|
set(VORBISLIB Vorbis::vorbis Vorbis::vorbisfile)
|
||||||
|
|||||||
@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
static debug::Logger logger("png-coder");
|
static debug::Logger logger("png-coder");
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
#define LIBPNG
|
#define LIBPNG
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef LIBPNG
|
#ifdef LIBPNG
|
||||||
#include <png.h>
|
#include <png.h>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"glfw3",
|
"glfw3",
|
||||||
"glew",
|
"glew",
|
||||||
"glm",
|
"glm",
|
||||||
"libspng",
|
"libpng",
|
||||||
"zlib",
|
"zlib",
|
||||||
"luajit",
|
"luajit",
|
||||||
"libvorbis",
|
"libvorbis",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user