diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-27 14:43:04 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-11 12:03:07 +0100 |
commit | 3695c087829843b108bf55296d7dca39a08f135b (patch) | |
tree | a199c439124bbda41edc585cc5e81463e190becb /modules/basis_universal/SCsub | |
parent | af6a3a419a97d1b623d74c1170ed79cf1eba1c78 (diff) | |
download | redot-engine-3695c087829843b108bf55296d7dca39a08f135b.tar.gz |
basis_universal: Use proper basisu_transcoder.h header, fixes Clang build
Also renames bu to basisu to be more explicit and match upstream name.
Diffstat (limited to 'modules/basis_universal/SCsub')
-rw-r--r-- | modules/basis_universal/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/basis_universal/SCsub b/modules/basis_universal/SCsub index b933e78de8..3e179762a5 100644 --- a/modules/basis_universal/SCsub +++ b/modules/basis_universal/SCsub @@ -3,7 +3,7 @@ Import('env') Import('env_modules') -env_bu = env_modules.Clone() +env_basisu = env_modules.Clone() # Thirdparty source files # Not unbundled so far since not widespread as shared library @@ -28,16 +28,16 @@ tool_sources = [ tool_sources = [thirdparty_dir + file for file in tool_sources] transcoder_sources = [thirdparty_dir + "transcoder/basisu_transcoder.cpp"] -env_bu.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "transcoder"]) +env_basisu.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "transcoder"]) if env['target'] == "debug": - env_bu.Append(CPPFLAGS=["-DBASISU_DEVEL_MESSAGES=1", "-DBASISD_ENABLE_DEBUG_FLAGS=1"]) + env_basisu.Append(CPPFLAGS=["-DBASISU_DEVEL_MESSAGES=1", "-DBASISD_ENABLE_DEBUG_FLAGS=1"]) -env_thirdparty = env_bu.Clone() +env_thirdparty = env_basisu.Clone() env_thirdparty.disable_warnings() if env['tools']: env_thirdparty.add_source_files(env.modules_sources, tool_sources) env_thirdparty.add_source_files(env.modules_sources, transcoder_sources) # Godot source files -env_bu.add_source_files(env.modules_sources, "*.cpp") +env_basisu.add_source_files(env.modules_sources, "*.cpp") |