#from http://www.php.net/downloads.php #this imports variables here PackageSetup() if(WIN32) #### windows..... not done yet message(FATAL_ERROR "package ${PACKAGE} not currently available for windows") else() set(Package_configure_flags --with-apxs2=/bin/apxs --with-mysql= --with-pdo-mysql= --disable-cgi --with-zlib_dir= --with-gettext --with-mcrypt= --with-gd --with-jpeg-dir= --with-png-dir= --with-freetype-dir= --enable-zip --enable-mbstring --with-xsl= --with-libxml-dir= ) # --with-curl= set(Package_source_setup URL http://www.php.net/distributions/php-5.4.0.tar.gz URL_MD5 46b72e274c6ea7e775245ffdb81c9ce5 ) PackageUnixConfigureAdd() endif()