remove libpng
This commit is contained in:
parent
a396df51cc
commit
851e8eca2a
|
@ -11,7 +11,6 @@ FIND_PACKAGE(OpenGL REQUIRED)
|
|||
FIND_PACKAGE(Lua51 REQUIRED)
|
||||
FIND_PACKAGE(YamlCpp REQUIRED)
|
||||
FIND_PACKAGE(PhysFS REQUIRED)
|
||||
FIND_PACKAGE(PNG REQUIRED)
|
||||
FIND_PACKAGE(GMP REQUIRED)
|
||||
|
||||
# choose a default build type if not specified
|
||||
|
@ -35,15 +34,13 @@ INCLUDE_DIRECTORIES(
|
|||
${YAMLCPP_INCLUDE_DIRS}
|
||||
${PHYSFS_INCLUDE_DIRS}
|
||||
${GMP_INCLUDE_DIR}
|
||||
${PNG_INCLUDE_DIRS}
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/framework")
|
||||
|
||||
LINK_DIRECTORIES(
|
||||
${Boost_LIBRARY_DIRS}
|
||||
${LUA_LIBRARY_DIRS}
|
||||
${PHYSFS_LIBRARY_DIRS}
|
||||
${YAMLCPP_LIBRARY_DIRS}
|
||||
${PNG_LIBRARY_DIRS})
|
||||
${YAMLCPP_LIBRARY_DIRS})
|
||||
|
||||
# setup definitions
|
||||
ADD_DEFINITIONS(-D_REENTRANT)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
class TextureLoader
|
||||
{
|
||||
public:
|
||||
/// Load a png textures using libpng
|
||||
/// Load a png textures
|
||||
static TexturePtr loadPNG(uchar *fileData, uint fileSize);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue