diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 00:22:58 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 14:36:30 -0400 |
commit | 45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch) | |
tree | b7c005cadf0fa5754ea35d150208217eaeb49cce /modules/recast/SCsub | |
parent | ffab67b8daea8e3379824105439eba8226b72fde (diff) |
Use BoolVariable for third-party options.
Diffstat (limited to 'modules/recast/SCsub')
-rw-r--r-- | modules/recast/SCsub | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/recast/SCsub b/modules/recast/SCsub index 349bd22efb..500c0ec055 100644 --- a/modules/recast/SCsub +++ b/modules/recast/SCsub @@ -5,7 +5,7 @@ Import('env') # Not building in a separate env as core needs it # Thirdparty source files -if (env['builtin_recast'] != 'no'): +if env['builtin_recast']: thirdparty_dir = "#thirdparty/recastnavigation/Recast/" thirdparty_sources = [ "Source/Recast.cpp", @@ -24,10 +24,6 @@ if (env['builtin_recast'] != 'no'): env.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "/Include"]) - # also requires recast headers - if (env['builtin_recast'] != 'no'): - env.Append(CPPPATH=["#thirdparty/recastnavigation/Recast"]) - lib = env.Library("recast_builtin", thirdparty_sources) env.Append(LIBS=[lib]) |