diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-31 05:15:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-31 05:15:44 +0400 |
commit | 09da9d43931a09e3786343e724a3de7217285d0d (patch) | |
tree | 4c48fbd4404687fd04254d071d535499a1ae4058 /extern/binreloc/CMakeLists.txt | |
parent | dcd55cef86270f076cf827c5ae7a6cc76db4f9ad (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 'extern/binreloc/CMakeLists.txt')
-rw-r--r-- | extern/binreloc/CMakeLists.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extern/binreloc/CMakeLists.txt b/extern/binreloc/CMakeLists.txt index e3f0b05d563..a4f85a2fdfd 100644 --- a/extern/binreloc/CMakeLists.txt +++ b/extern/binreloc/CMakeLists.txt @@ -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}") |