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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-21 22:13:43 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-21 22:13:43 +0400
commitd272ea36c23bc5e28db0f66fa905bb24acf9de8c (patch)
tree2f773d7681d0b3433ff93aca107943dbf54287ac
parentcfcf82803a9e0d590800152a060ff9f97b123184 (diff)
Wrong check for platform accidently put /WX to non-msvc toolchains too.
-rw-r--r--intern/ghost/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index de8dd51d2dc..c71402b352b 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -60,6 +60,8 @@ if env['BF_GHOST_DEBUG']:
incs = '. ../string #extern/glew/include #source/blender/imbuf #source/blender/makesdna ' + env['BF_OPENGL_INC']
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
incs = env['BF_WINTAB_INC'] + ' ' + incs
+
+if window_system in ('win32-vc', 'win64-vc'):
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15], cc_compileflags=['/WX'] )
else:
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15] )