diff options
Diffstat (limited to 'contrib/cmake')
-rw-r--r-- | contrib/cmake/FindPHP5.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cmake/FindPHP5.cmake b/contrib/cmake/FindPHP5.cmake index 6ad81a5..68e0f68 100644 --- a/contrib/cmake/FindPHP5.cmake +++ b/contrib/cmake/FindPHP5.cmake @@ -29,11 +29,12 @@ if (UNIX) ERROR_VARIABLE PHP_LDFLAGS_errors RESULT_VARIABLE PHP_LDFLAGS_result) - set(PHP_ZTS_ENABLED OFF) execute_process(COMMAND ${PHP_CONFIG} --configure-options OUTPUT_VARIABLE PHP_CONFIGURE_OPTIONS ERROR_VARIABLE PHP_CONFIGURE_OPTIONS_errors RESULT_VARIABLE PHP_CONFIGURE_OPTIONS_result) + + set(PHP_ZTS_ENABLED OFF) if (PHP_CONFIGURE_OPTIONS MATCHES ".*enable-maintainer-zts.*") set(PHP_ZTS_ENABLED ON) endif() |