#from http://apr.apache.org/compiling_unix.html #this imports variables here PackageSetup() if(WIN32) message(FATAL_ERROR "package ${PACKAGE} not currently available for windows") else() #configure based install set(Package_PkgConfig ON) set(Package_configure_flags --with-apr= --with-expat=) set(Package_source_setup URL http://apache.fastbull.org//apr/apr-util-1.5.1.tar.gz URL_MD5 490c2e26e2dc95fd0983ad71112ddac6 ) PackageUnixConfigureAdd() endif()