[DEV] cmake file update
This commit is contained in:
parent
c0d9b148c0
commit
f56c9fdf7d
@ -29,6 +29,15 @@ set(src_files
|
|||||||
|
|
||||||
add_definitions( -DDEBUG_LEVEL=3 )
|
add_definitions( -DDEBUG_LEVEL=3 )
|
||||||
add_definitions( -DDEBUG=1 )
|
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:
|
#Create a static Lib:
|
||||||
add_library(png STATIC ${src_files} )
|
add_library(png STATIC ${src_files} )
|
||||||
|
Loading…
Reference in New Issue
Block a user