diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 18:21:45 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 18:21:45 (GMT) |
commit | 7279ab2caf72b68126bf0c1d7e62c7d89024f9a0 (patch) | |
tree | 03d4108e944e2abbc0848750e4210c5b85dd87bc /contrib/cmake/FindPHP5.cmake | |
parent | d4a78a99b6dfef5413ae4e969f3865f3b6f1a45d (diff) | |
download | uscxml-7279ab2caf72b68126bf0c1d7e62c7d89024f9a0.zip uscxml-7279ab2caf72b68126bf0c1d7e62c7d89024f9a0.tar.gz uscxml-7279ab2caf72b68126bf0c1d7e62c7d89024f9a0.tar.bz2 |
Support for php extensions in debug mode
Diffstat (limited to 'contrib/cmake/FindPHP5.cmake')
-rw-r--r-- | contrib/cmake/FindPHP5.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/cmake/FindPHP5.cmake b/contrib/cmake/FindPHP5.cmake index 68e0f68..d449112 100644 --- a/contrib/cmake/FindPHP5.cmake +++ b/contrib/cmake/FindPHP5.cmake @@ -38,6 +38,12 @@ if (UNIX) if (PHP_CONFIGURE_OPTIONS MATCHES ".*enable-maintainer-zts.*") set(PHP_ZTS_ENABLED ON) endif() + + set(PHP_DEBUG_ENABLED OFF) + if (PHP_CONFIGURE_OPTIONS MATCHES ".*enable-debug.*") + set(PHP_DEBUG_ENABLED ON) + endif() + endif() else() message(STATUS "Finding PHP5 on Windows is not supported") |