remove libpng

This commit is contained in:
Eduardo Bart 2011-05-12 20:31:10 -03:00
parent a396df51cc
commit 851e8eca2a
2 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -31,7 +31,7 @@
class TextureLoader
{
public:
/// Load a png textures using libpng
/// Load a png textures
static TexturePtr loadPNG(uchar *fileData, uint fileSize);
};