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.
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user