summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-04-17 18:05:01 +0200
committer couriersud <couriersud@arcor.de>2015-04-17 18:05:01 +0200
commit0d60fe780559dca91448a4917a8b9ec026368c8b (patch)
tree1d5be49e69d8a4892a4e9c1ee4a951c7f965c92f /scripts
parent3962ef35db253558caa2b8f2e9e1c40d0714cbcf (diff)
Make sure USE_OPENMP is passed via define. (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genie.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index e544f318075..b5619c41f50 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -749,6 +749,10 @@ if _OPTIONS["OPENMP"]=="1" then
linkoptions {
"-fopenmp"
}
+ defines {
+ "USE_OPENMP=1",
+ }
+
else
buildoptions {
"-Wno-unknown-pragmas",