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:
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r--intern/ghost/SConscript12
1 files changed, 3 insertions, 9 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index 7dbcb2703c6..6b58f056d9c 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -1,14 +1,8 @@
-ghost_env = Environment()
-
-# Import the C flags set in the SConstruct file
-Import ('cflags')
-Import ('cxxflags')
-Import ('defines')
Import ('user_options_dict')
+Import ('library_env')
Import ('window_system')
-ghost_env.Append (CCFLAGS = cflags)
-ghost_env.Append (CXXFLAGS = cxxflags)
-ghost_env.Append (CPPDEFINES = defines)
+
+ghost_env = library_env.Copy ()
source_files = ['intern/GHOST_Buttons.cpp',
'intern/GHOST_C-api.cpp',