Fixed cmake warnings

This commit is contained in:
deve 2015-01-19 09:19:33 +01:00
parent 121e9d659d
commit a0fc3c98e8
4 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,4 @@
# CMakeLists.txt for Irrlicht in STK
project(stkirrlicht)
find_package(PNG REQUIRED)
find_package(JPEG REQUIRED)

View File

@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 2.4.4)
project(jpeglib C)
SET(JPEG_SRCS
jaricom.c
@ -49,4 +48,4 @@ SET(JPEG_SRCS
jquant2.c
jutils.c)
add_library(jpeglib STATIC ${JPEG_SRCS})
add_library(jpeglib STATIC ${JPEG_SRCS})

View File

@ -30,7 +30,6 @@ if(UNIX AND NOT DEFINED CMAKE_BUILD_TYPE)
endif()
endif()
project(libpng C)
enable_testing()
set(PNGLIB_MAJOR 1)
@ -211,7 +210,7 @@ endif(NOT DEFINED CMAKE_INSTALL_LIBDIR)
# we use the same files like ./configure, so we have to set its vars
# Only do this on Windows for Cygwin - the files don't make much sense outside
# a UNIX look alike
if(NOT WIN32 OR CYGWIN OR MINGW)
if(NOT WIN32 OR CYGWIN OR MINGW)
set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix ${CMAKE_INSTALL_PREFIX})
set(libdir ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})

View File

@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 2.4.4)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
project(zlib C)
set(VERSION "1.2.7")
set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables")