Cleanup: remove contributors for CMake files
[blender.git] / source / blender / imbuf / intern / openexr / CMakeLists.txt
index 33681da55af214ddd0343e89cadf390d650c42dd..18f68d5b36519c4c524cf0a44afdaf14fa6c8f9a 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software Foundation,
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 #
 # The Original Code is Copyright (C) 2006, Blender Foundation
 # All rights reserved.
 #
 # The Original Code is Copyright (C) 2006, Blender Foundation
 # All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Jacques Beaurain.
-#
 # ***** END GPL LICENSE BLOCK *****
 
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC openexr_api.cpp)
-
-SET(INC 
+set(INC
        .
        .
-       ../../../blenkernel
-       ../../
        ..
        ..
+       ../..
+       ../../../blenkernel
        ../../../blenlib
        ../../../blenlib
-       intern/include
-       ../../../../../intern/guardedalloc
        ../../../makesdna
        ../../../makesdna
-       ${OPENEXR_INC}
+       ../../../../../intern/guardedalloc
+       ../../../../../intern/utfconv
+)
+
+set(INC_SYS
+
+)
+
+set(SRC
+       openexr_api.h
+       openexr_multi.h
+
+       openexr_api.cpp
 )
 
 )
 
-IF(WITH_OPENEXR)
-       ADD_DEFINITIONS(-DWITH_OPENEXR)
-ENDIF(WITH_OPENEXR)
+if(WITH_IMAGE_OPENEXR)
+       list(APPEND INC_SYS
+               ${OPENEXR_INCLUDE_DIRS}
+       )
+       add_definitions(-DWITH_OPENEXR)
+endif()
 
 
-BLENDERLIB(bf_openexr "${SRC}" "${INC}")                 
-#env.BlenderLib ('bf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])
+blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}" "${INC_SYS}")