summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorColin Kinloch <colin@kinlo.ch>2017-12-14 12:52:11 +0000
committerColin Kinloch <colin@kinlo.ch>2017-12-14 13:52:23 +0000
commitedb1df15eadb791ac9f44e0e15db9fe51cbcb1f5 (patch)
tree950ac334bd801e090c942e9bae052a44ba865c81 /platform/windows/detect.py
parentf3ad14224e27f2a25196575e3c43ebc792c90894 (diff)
downloadredot-engine-edb1df15eadb791ac9f44e0e15db9fe51cbcb1f5.tar.gz
Added indent_style to editorconfig, fixed inconsistent use of tabs and spaces in indentation.
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 3f66207457..bc8be7f034 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -188,8 +188,8 @@ def configure(env):
else:
VC_PATH = ""
- if (env["openmp"]):
- env.Append(CPPFLAGS=['/openmp'])
+ if (env["openmp"]):
+ env.Append(CPPFLAGS=['/openmp'])
env.Append(CCFLAGS=["/I" + p for p in os.getenv("INCLUDE").split(";")])
env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")])
@@ -267,9 +267,9 @@ def configure(env):
env.Append(CCFLAGS=['-flto'])
env.Append(LINKFLAGS=['-flto=' + str(env.GetOption("num_jobs"))])
- if (env["openmp"]):
- env.Append(CPPFLAGS=['-fopenmp'])
- env.Append(LIBS=['gomp'])
+ if (env["openmp"]):
+ env.Append(CPPFLAGS=['-fopenmp'])
+ env.Append(LIBS=['gomp'])
## Compile flags