Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-21 16:13:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-21 16:13:08 +0300
commit9ef0eed4b64325092dc90bf2db0ca9825fd94f83 (patch)
tree179c4ae843eb3192683457e19d2ea903b8690b70 /source/creator
parentef60ae95215ef9fe88a93e97f70413e8075506e4 (diff)
build python module without binreloc, add dummy argv[0] to initialize bprogname.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 01cea0565ab..19b62b0ce68 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -90,7 +90,7 @@ if(NOT WITH_SDL)
add_definitions(-DDISABLE_SDL)
endif()
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+if(WITH_BINRELOC)
add_definitions(-DWITH_BINRELOC)
blender_include_dirs(${BINRELOC_INC})
endif()
@@ -592,7 +592,7 @@ endif()
bf_intern_mikktspace
)
- if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ if(WITH_BINRELOC)
list(APPEND BLENDER_SORTED_LIBS extern_binreloc)
endif()