File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ project(
4444
4545include (CMakeDependentOption)
4646include (FeatureSummary)
47- include (PHP/Set)
4847
4948option (PHP_EXT_PDO_MYSQL "Enable the pdo_mysql extension" )
5049
@@ -63,14 +62,15 @@ cmake_dependent_option(
6362)
6463
6564# Driver selection option.
66- php_set(
67- PHP_EXT_PDO_MYSQL_DRIVER
68- CHOICES "mysqlnd" "mysql"
69- IF PHP_EXT_PDO_MYSQL
70- DOC
65+ set (
66+ CACHE {PHP_EXT_PDO_MYSQL_DRIVER}
67+ TYPE STRING
68+ HELP
7169 "Select MySQL driver: mysqlnd (MySQL Native Driver, recommended) or mysql "
7270 "(system MySQL)"
71+ VALUE "mysqlnd"
7372)
73+ set_property (CACHE PHP_EXT_PDO_MYSQL_DRIVER PROPERTY STRINGS "mysqlnd" "mysql" )
7474mark_as_advanced (PHP_EXT_PDO_MYSQL_DRIVER)
7575
7676if (NOT PHP_EXT_PDO_MYSQL)
You can’t perform that action at this time.
0 commit comments