From b0d1f9ed838be8a0d02532ad485aa6d426fb35d7 Mon Sep 17 00:00:00 2001
From: qiaojbao <Qiaojin.Bao@amd.com>
Date: Wed, 4 Dec 2024 21:19:10 +0800
Subject: [PATCH] Update build options.

---
 utils/amdvlk_build_for_tag.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/amdvlk_build_for_tag.py b/utils/amdvlk_build_for_tag.py
index 4ec7cff5..0e2ed4cb 100755
--- a/utils/amdvlk_build_for_tag.py
+++ b/utils/amdvlk_build_for_tag.py
@@ -171,7 +171,7 @@ def useGccToolset():
         gccToolsetCmd = "source scl_source enable gcc-toolset-10 &&" if useGccToolset() else ""
 
         self.buildDir   = 'xgl/Release64' if arch == '64' else 'xgl/Release32'
-        cmakeFlags = ' -G Ninja -S xgl -B ' + self.buildDir + ' -DBUILD_WAYLAND_SUPPORT=ON -DPACKAGE_VERSION=' + self.version + ' -DXGL_BUILD_TOOLS=ON'
+        cmakeFlags = ' -G Ninja -S xgl -B ' + self.buildDir + ' -DVKI_BUILD_WAYLAND=ON -DPACKAGE_VERSION=' + self.version + ' -DVKI_BUILD_TOOLS=ON'
         cFlags     = '' if arch == '64' else ' -DCMAKE_C_FLAGS=\"-m32 -march=i686\" -DCMAKE_CXX_FLAGS=\"-m32 -march=i686\"'
 
         os.chdir(self.driverRoot)