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:
14
extern/binreloc/CMakeLists.txt
vendored
14
extern/binreloc/CMakeLists.txt
vendored
@@ -18,17 +18,21 @@
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
set(INC
|
||||
./include
|
||||
)
|
||||
|
||||
set(INC_SYS
|
||||
|
||||
)
|
||||
|
||||
set(SRC
|
||||
binreloc.c
|
||||
|
||||
include/binreloc.h
|
||||
)
|
||||
|
||||
set(INC
|
||||
./include
|
||||
)
|
||||
|
||||
add_definitions(-DENABLE_BINRELOC)
|
||||
|
||||
|
||||
blender_add_lib(extern_binreloc "${SRC}" "${INC}")
|
||||
blender_add_lib(extern_binreloc "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
||||
Reference in New Issue
Block a user