Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-31 05:15:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-31 05:15:44 +0400
commit09da9d43931a09e3786343e724a3de7217285d0d (patch)
tree4c48fbd4404687fd04254d071d535499a1ae4058 /source/blender/quicktime
parentdcd55cef86270f076cf827c5ae7a6cc76db4f9ad (diff)
cmake maintenance
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r--source/blender/quicktime/CMakeLists.txt41
1 files changed, 22 insertions, 19 deletions
diff --git a/source/blender/quicktime/CMakeLists.txt b/source/blender/quicktime/CMakeLists.txt
index 7e7f61036c6..3b70cf19a7f 100644
--- a/source/blender/quicktime/CMakeLists.txt
+++ b/source/blender/quicktime/CMakeLists.txt
@@ -24,24 +24,6 @@
#
# ***** END GPL LICENSE BLOCK *****
-if(USE_QTKIT)
- set(SRC
- apple/qtkit_import.m
- apple/qtkit_export.m
-
- quicktime_export.h
- quicktime_import.h
- )
-else()
- set(SRC
- apple/quicktime_import.c
- apple/quicktime_export.c
-
- quicktime_export.h
- quicktime_import.h
- )
-endif()
-
set(INC
.
../quicktime
@@ -58,9 +40,30 @@ set(INC
../windowmanager
../../../intern/audaspace/intern
../../../intern/guardedalloc
+)
+
+set(INC_SYS
${QUICKTIME_INC}
)
+if(USE_QTKIT)
+ set(SRC
+ apple/qtkit_import.m
+ apple/qtkit_export.m
+
+ quicktime_export.h
+ quicktime_import.h
+ )
+else()
+ set(SRC
+ apple/quicktime_import.c
+ apple/quicktime_export.c
+
+ quicktime_export.h
+ quicktime_import.h
+ )
+endif()
+
add_definitions(-DWITH_QUICKTIME)
-blender_add_lib(bf_quicktime "${SRC}" "${INC}")
+blender_add_lib(bf_quicktime "${SRC}" "${INC}" "${INC_SYS}")