diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-07 15:21:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-07 15:53:42 +0300 |
commit | e67fd7a2cbf9723a0f800d9a14834ff6838f2b7f (patch) | |
tree | 1fe769831e1f01969f8944a8eb8224cfc6611bd1 | |
parent | e81d077c852f43b635f10972479e36909a66d60c (diff) |
Correct defines for binreloc
After recent moving path functions to appdir.c
patch T42826: by ldo (Lawrence D'Oliveiro)
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 7 | ||||
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index fb717b1745b..5850b1614e7 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -277,6 +277,13 @@ set(SRC intern/pbvh_intern.h ) +if(WITH_BINRELOC) + list(APPEND INC_SYS + ${BINRELOC_INCLUDE_DIRS} + ) + add_definitions(-DWITH_BINRELOC) +endif() + add_definitions(${GL_DEFINITIONS}) if(WIN32) diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index 55a5d911d78..7dfcc2a62fd 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -189,13 +189,6 @@ set(SRC PIL_time_utildefines.h ) -if(WITH_BINRELOC) - list(APPEND INC_SYS - ${BINRELOC_INCLUDE_DIRS} - ) - add_definitions(-DWITH_BINRELOC) -endif() - if(WITH_MEM_VALGRIND) add_definitions(-DWITH_MEM_VALGRIND) endif() |