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/blenderplayer
parentef60ae95215ef9fe88a93e97f70413e8075506e4 (diff)
build python module without binreloc, add dummy argv[0] to initialize bprogname.
Diffstat (limited to 'source/blenderplayer')
-rw-r--r--source/blenderplayer/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt
index 8ef06e9fc21..8f1730eb8fb 100644
--- a/source/blenderplayer/CMakeLists.txt
+++ b/source/blenderplayer/CMakeLists.txt
@@ -33,7 +33,7 @@ if(WITH_CODEC_QUICKTIME)
add_definitions(-DWITH_QUICKTIME)
endif()
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+if(WITH_BINRELOC)
add_definitions(-DWITH_BINRELOC)
blender_include_dirs(${BINRELOC_INC})
endif()