#from http://www.wxwidgets.org/ #this imports variables here PackageSetup() if(WIN32) #### windows..... not done yet message(FATAL_ERROR "package ${PACKAGE} not currently available for windows") else() #configure based install like ./configure --prefix=/$HOME/apache set(Package_PkgConfig ON) set(Package_configure_flags --with-opengl) PackageUnixConfigureSimpleAdd( http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.11.tar.gz ) # ExternalProject_Add( # ${PACKAGE} # ${Package_std_dirs} # URL http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.11.tar.gz # CONFIGURE_COMMAND /configure --srcdir= --prefix= # CONFIGURE_COMMAND /configure --srcdir= --prefix= --with-apxs2=/bin/apxs --with-mysql= --disable-cgi --with-zlib --with-gettext --with-mcrypt= # ) endif()