summaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-12 14:09:42 +0200
committerGitHub <noreply@github.com>2021-08-12 14:09:42 +0200
commit9dd1debaf9e89aaeda58e5ca25924e844fbeb248 (patch)
tree819ab98e058647497a4855cf7c774db49a8af241 /platform/windows/detect.py
parent67fc611bda7b55b3eeab87f683a5c95ea0d0313f (diff)
parent133f678f85edcb3dbf6890b8394cc790463d7354 (diff)
Merge pull request #51516 from bruvzg/🐺
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 287ece1d29..9154f7749e 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -278,10 +278,8 @@ def configure_msvc(env, manual_msvc_config):
]
env.AppendUnique(CPPDEFINES=["VULKAN_ENABLED"])
- if not env["builtin_vulkan"]:
+ if not env["use_volk"]:
LIBS += ["vulkan"]
- else:
- LIBS += ["cfgmgr32"]
# env.AppendUnique(CPPDEFINES = ['OPENGL_ENABLED'])
LIBS += ["opengl32"]
@@ -456,10 +454,8 @@ def configure_mingw(env):
)
env.Append(CPPDEFINES=["VULKAN_ENABLED"])
- if not env["builtin_vulkan"]:
+ if not env["use_volk"]:
env.Append(LIBS=["vulkan"])
- else:
- env.Append(LIBS=["cfgmgr32"])
## TODO !!! Re-enable when OpenGLES Rendering Device is implemented !!!
# env.Append(CPPDEFINES=['OPENGL_ENABLED'])