[DEV] cmake file update

This commit is contained in:
Edouard DUPIN 2014-03-04 21:18:41 +01:00
parent c0d9b148c0
commit f56c9fdf7d

View File

@ -29,6 +29,15 @@ set(src_files
add_definitions( -DDEBUG_LEVEL=3 )
add_definitions( -DDEBUG=1 )
if (UNIX)
add_definitions( -D__TARGET_OS__Linux )
endif(UNIX)
if (APPLE)
add_definitions( -D__TARGET_OS__MacOs )
endif (APPLE)
if (WIN32)
add_definitions( -D__TARGET_OS__Windows )
endif (WIN32)
#Create a static Lib:
add_library(png STATIC ${src_files} )