[libpng17] Added set(CMAKE_CONFIGURATION_TYPES ...) to CMakeLists.txt

(Andrew Hundt)
This commit is contained in:
Glenn Randers-Pehrson
2013-06-05 11:05:34 -05:00
parent 4c9168875b
commit d594be641a
3 changed files with 7 additions and 3 deletions

View File

@@ -9,6 +9,8 @@
cmake_minimum_required(VERSION 2.4.4)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
set(CMAKE_CONFIGURATION_TYPES "Release;Debug;MinSizeRel;RelWithDebInfo")
if(UNIX AND NOT DEFINED CMAKE_BUILD_TYPE)
if(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4)
# workaround CMake 2.4.x bug