Skip to content

Commit 3e23b8b

Browse files
committed
Dep/MySQL: Ignore MySQL Workbench installations when searching for mysql.exe
(cherry picked from commit 31beaf0ba1b4ba9742b86e29d0aeef4fbbaf4983)
1 parent 0728b89 commit 3e23b8b

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)