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/blenpluginapi
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/blenpluginapi')
-rw-r--r--source/blender/blenpluginapi/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenpluginapi/CMakeLists.txt b/source/blender/blenpluginapi/CMakeLists.txt
index 1e3a3398861..c3aad25ccbe 100644
--- a/source/blender/blenpluginapi/CMakeLists.txt
+++ b/source/blender/blenpluginapi/CMakeLists.txt
@@ -34,6 +34,10 @@ set(INC
../../../intern/guardedalloc
)
+set(INC_SYS
+
+)
+
set(SRC
intern/pluginapi.c
@@ -46,8 +50,8 @@ set(SRC
)
if(WITH_CODEC_QUICKTIME)
- list(APPEND INC ${QUICKTIME_INC})
+ list(APPEND INC_SYS ${QUICKTIME_INC})
add_definitions(-DWITH_QUICKTIME)
endif()
-blender_add_lib(bf_blenpluginapi "${SRC}" "${INC}")
+blender_add_lib(bf_blenpluginapi "${SRC}" "${INC}" "${INC_SYS}")