diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-19 23:36:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-19 23:36:56 +0400 |
commit | 4e9171e6f6f3b09d2faa50f790d2abff51082ea7 (patch) | |
tree | 6b9442c25ff2ae7cec7439387962814a9f3c1477 /source/creator | |
parent | 62ffb81316bbae1c1bf286d72e729f623004a0b8 (diff) |
binreloc wasnt working with cmake.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index cd0d551211f..b3371678534 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -62,10 +62,10 @@ ELSE(WITH_PYTHON) ADD_DEFINITIONS(-DDISABLE_PYTHON) ENDIF(WITH_PYTHON) -IF(LINUX) +IF(CMAKE_SYSTEM_NAME MATCHES "Linux") ADD_DEFINITIONS(-DWITH_BINRELOC) INCLUDE_DIRECTORIES(${BINRELOC_INC}) -endif(LINUX) +ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") MESSAGE(STATUS "Configuring blender") |