--- a/config/cmake/Modules/VXLConfig.cmake.in
+++ b/config/cmake/Modules/VXLConfig.cmake.in
@@ -62,7 +62,7 @@
 SET(VXL_CORE_INCLUDE_DIR "@VXLCORE_INCLUDE_DIR@")
 # VXL core has many libraries
 
-SET(VXL_VGUI_FOUND "@BUILD_VGUI@")
+SET(VXL_VGUI_FOUND "@VGUI_FOUND@")
 SET(VXL_VGUI_INCLUDE_DIR "@OPENGL_INCLUDE_DIR@")
 SET(VXL_VGUI_LIBRARIES "vgui")