#from http://dev.mysql.com/ #http://dev.mysql.com/doc/refman/5.1/en/getting-mysql.html #http://dev.mysql.com/doc/mysql-sourcebuild-excerpt/5.1/en/configure-options.html #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 ExternalProject_Add( ${PACKAGE} ${Package_std_dirs} URL http://ftp.heanet.ie/mirrors/www.mysql.com/Downloads/MySQL-5.5/mysql-5.5.8.tar.gz URL_MD5 42e866302b61f5e213afd33e04677017 CMAKE_COMMAND ${CMAKE_COMMAND} CMAKE_ARGS ${Package_std_cmake_args} ${Package_current_dependencies_effective_line} #CONFIGURE_COMMAND /configure --srcdir= --prefix= --with-plugins=innodb_plugin ) endif()