#from http://httpd.apache.org/docs/2.2/install.html #this imports variables here PackageSetup() if(WIN32) #### here we download the binary package, ase md5deep does not currently support building under windows..... sic message(FATAL_ERROR "package ${PACKAGE} not currently available for windows") else() # set(Package_configure_flags --enable-mods-shared=most --enable-dav --enable-dav-fs --enable-dav-lock --enable-ssl --enable-so --enable-rewrite --enable-deflate --enable-mime-magic --enable-proxy --enable-proxy-ajp --enable-proxy-http) set(Package_configure_flags --with-included-apr --enable-dav --enable-dav-fs --enable-dav-lock --enable-proxy --enable-proxy-ajp --enable-so) set(Package_source_setup URL http://archive.apache.org/dist/httpd/httpd-2.2.16.tar.gz URL_MD5 7f33f2c8b213ad758c009ae46d2795ed ) set(Package_InSource ON) #it seems that Apache is not able to build out of source....due to not finding expat PackageUnixConfigureAdd() endif()