Skip to content

Commit 31beaf0

Browse files
committed
Dep/MySQL: Ignore MySQL Workbench installations when searching for mysql.exe
1 parent 03d072d commit 31beaf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/macros/FindMySQL.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ if(WIN32)
127127
"HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB" SUBKEYS
128128
VIEW BOTH
129129
)
130+
list(FILTER _MYSQL_ROOT_HINTS_SUBKEYS INCLUDE REGEX "^MySQL Server ")
130131
list(SORT _MYSQL_ROOT_HINTS_SUBKEYS COMPARE NATURAL ORDER DESCENDING)
131132

132133
set(_MYSQL_ROOT_HINTS_REGISTRY_LOCATIONS)

0 commit comments

Comments
 (0)