#---Check for installed packages depending on the build options/components eamnbled - include(ExternalProject) #---Check for Zlib ------------------------------------------------------------------ if(NOT builtin_zlib) message(STATUS "Looking for ZLib") find_Package(ZLIB) if(NOT ZLIB_FOUND) message(STATUS "Zlib not found. Switching on builtin_zlib option") set(builtin_zlib ON CACHE BOOL "" FORCE) endif() endif() if(builtin_zlib) set(ZLIB_LIBRARY "") endif() #---Check for Freetype--------------------------------------------------------------- if(NOT builtin_freetype) message(STATUS "Looking for Freetype") find_package(Freetype) if(FREETYPE_FOUND) set(FREETYPE_INCLUDE_DIR ${FREETYPE_INCLUDE_DIR_freetype2}) else() message(STATUS "FreeType not found. Switching on builtin_freetype option") set(builtin_freetype ON CACHE BOOL "" FORCE) endif() endif() if(builtin_freetype) set(FREETYPE_INCLUDE_DIR ${CMAKE_BINARY_DIR}/graf2d/freetype/freetype-2.3.12/include) set(FREETYPE_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR}) if(WIN32) set(FREETYPE_LIBRARIES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/freetype.lib") else() set(FREETYPE_LIBRARIES "-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY} -lfreetype") endif() endif() #---Check for PCRE------------------------------------------------------------------- if(NOT builtin_pcre) message(STATUS "Looking for PCRE") find_package(PCRE) if(PCRE_FOUND) else() message(STATUS "PCRE not found. Switching on builtin_pcre option") set(builtin_pcre ON CACHE BOOL "" FORCE) endif() endif() if(builtin_pcre) set(PCRE_INCLUDE_DIR ${CMAKE_BINARY_DIR}/core/pcre/pcre-7.8) if(WIN32) set(PCRE_LIBRARIES ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libpcre.lib) else() set(PCRE_LIBRARIES "-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY} -lpcre") endif() endif() #---Check for LZMA------------------------------------------------------------------- if(NOT builtin_lzma) message(STATUS "Looking for LZMA") find_package(LZMA) if(LZMA_FOUND) else() message(STATUS "LZMA not found. Switching on builtin_lzma option") set(builtin_lzma ON CACHE BOOL "" FORCE) endif() endif() if(builtin_lzma) set(lzma_version 5.0.3) message(STATUS "Building LZMA version ${lzma_version} included in ROOT itself") if(WIN32) ExternalProject_Add( LZMA URL ${CMAKE_SOURCE_DIR}/core/lzma/src/xz-${lzma_version}-win32.tar.gz URL_MD5 65693dc257802b6778c28ed53ecca678 PREFIX LZMA INSTALL_DIR ${CMAKE_BINARY_DIR} CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND cmake -E copy lib/liblzma.dll /bin/${CMAKE_CFG_INTDIR} BUILD_IN_SOURCE 1) install(FILES ${CMAKE_BINARY_DIR}/LZMA/src/LZMA/lib/liblzma.dll DESTINATION ${CMAKE_INSTALL_BINDIR}) set(LZMA_LIBRARIES ${CMAKE_BINARY_DIR}/LZMA/src/LZMA/lib/liblzma.lib) set(LZMA_INCLUDE_DIR ${CMAKE_BINARY_DIR}/LZMA/src/LZMA/include) else() ExternalProject_Add( LZMA URL ${CMAKE_SOURCE_DIR}/core/lzma/src/xz-${lzma_version}.tar.gz URL_MD5 858405e79590e9b05634c399497f4ba7 INSTALL_DIR ${CMAKE_BINARY_DIR} CONFIGURE_COMMAND /configure --prefix --with-pic --disable-shared BUILD_IN_SOURCE 1) set(LZMA_LIBRARIES -L${CMAKE_BINARY_DIR}/lib -llzma) set(LZMA_INCLUDE_DIR ${CMAKE_BINARY_DIR}/include) endif() endif() #---Check for Cocoa/Quartz graphics backend (MacOS X only) if(cocoa) if(APPLE) set(x11 OFF CACHE BOOL "" FORCE) else() message(STATUS "Cocoa option can only be enabled on MacOSX platform") set(cocoa OFF CACHE BOOL "" FORCE) endif() endif() #---Check for X11 which is mandatory lib on Unix-------------------------------------- if(x11) message(STATUS "Looking for X11") if(X11_X11_INCLUDE_PATH) set(X11_FIND_QUIETLY 1) endif() find_package(X11 REQUIRED) if(X11_FOUND) list(REMOVE_DUPLICATES X11_INCLUDE_DIR) if(NOT X11_FIND_QUIETLY) message(STATUS "X11_INCLUDE_DIR: ${X11_INCLUDE_DIR}") message(STATUS "X11_LIBRARIES: ${X11_LIBRARIES}") endif() else() message(FATAL_ERROR "libX11 and X11 headers must be installed.") endif() if(X11_Xpm_FOUND) if(NOT X11_FIND_QUIETLY) message(STATUS "X11_Xpm_INCLUDE_PATH: ${X11_Xpm_INCLUDE_PATH}") message(STATUS "X11_Xpm_LIB: ${X11_Xpm_LIB}") endif() else() message(FATAL_ERROR "libXpm and Xpm headers must be installed.") endif() if(X11_Xft_FOUND) if(NOT X11_FIND_QUIETLY) message(STATUS "X11_Xft_INCLUDE_PATH: ${X11_Xft_INCLUDE_PATH}") message(STATUS "X11_Xft_LIB: ${X11_Xft_LIB}") endif() set(xft ON) else() message(FATAL_ERROR "libXft and Xft headers must be installed.") endif() if(X11_Xext_FOUND) if(NOT X11_FIND_QUIETLY) message(STATUS "X11_Xext_INCLUDE_PATH: ${X11_Xext_INCLUDE_PATH}") message(STATUS "X11_Xext_LIB: ${X11_Xext_LIB}") endif() else() message(FATAL_ERROR "libXext and Xext headers must be installed.") endif() else() set(xft OFF) endif() #---Check for AfterImage--------------------------------------------------------------- if(NOT builtin_afterimage) message(STATUS "Looking for AfterImage") find_package(AfterImage) if(NOT AFTERIMAGE_FOUND) message(STATUS "AfterImage not found. Switching on builtin_afterimage option") set(builtin_afterimage ON CACHE BOOL "" FORCE) endif() endif() #---Check for all kind of graphics includes needed by libAfterImage-------------------- if(asimage) set(ASEXTRA_LIBRARIES) find_Package(GIF) if(GIF_FOUND) set(ASEXTRA_LIBRARIES ${ASEXTRA_LIBRARIES} ${GIF_LIBRARIES}) endif() find_Package(TIFF) if(TIFF_FOUND) set(ASEXTRA_LIBRARIES ${ASEXTRA_LIBRARIES} ${TIFF_LIBRARIES}) endif() find_Package(PNG) if(PNG_FOUND) set(ASEXTRA_LIBRARIES ${ASEXTRA_LIBRARIES} ${PNG_LIBRARIES}) list(GET PNG_INCLUDE_DIRS 0 PNG_INCLUDE_DIR) endif() find_Package(JPEG) if(JPEG_FOUND) set(ASEXTRA_LIBRARIES ${ASEXTRA_LIBRARIES} ${JPEG_LIBRARIES}) endif() endif() #---Check for GSL library--------------------------------------------------------------- if(mathmore) message(STATUS "Looking for GSL") if(NOT builtin_gsl) find_package(GSL) if(NOT GSL_FOUND) message(STATUS "GSL not found. Set variable GSL_DIR to point to your GSL installation") message(STATUS " Alternatively, you can also enable the option 'builtin_gsl' to build the GSL libraries internally'") message(STATUS " For the time being switching OFF 'mathmore' option") set(mathmore OFF CACHE BOOL "" FORCE) endif() else() set(gsl_version 1.15) message(STATUS "Downloading and building GSL version ${gsl_version}") ExternalProject_Add( GSL URL http://mirror.switch.ch/ftp/mirror/gnu/gsl/gsl-${gsl_version}.tar.gz INSTALL_DIR ${CMAKE_BINARY_DIR} CONFIGURE_COMMAND /configure --prefix ) set(GSL_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/include) set(GSL_LIBRARIES -L${CMAKE_BINARY_DIR}/lib -lgsl -lgslcblas -lm) endif() endif() #---Check for Python installation------------------------------------------------------- if(python) message(STATUS "Looking for Python") #---First look for the python interpreter and fix the version of it for the libraries-- find_package(PythonInterp) if(PYTHONINTERP_FOUND) execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sys;sys.stdout.write(sys.version[:3])" OUTPUT_VARIABLE PYTHON_VERSION) message(STATUS "Found Python interpreter version ${PYTHON_VERSION}") execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sys;sys.stdout.write(sys.prefix)" OUTPUT_VARIABLE PYTHON_PREFIX) set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${PYTHON_PREFIX}) endif() find_package(PythonLibs) if(NOT PYTHONLIBS_FOUND) if(fail-on-missing) message(FATAL_ERROR "PythonLibs package not found and python component required") else() set(python OFF CACHE BOOL "" FORCE) message(STATUS "Python not found. Switching off python option") endif() else() endif() endif() #---Check for Ruby installation------------------------------------------------------- if(ruby) message(STATUS "Looking for Ruby") find_package(Ruby) if(NOT RUBY_FOUND) if(fail-on-missing) message(FATAL_ERROR "Ruby package not found and ruby component required") else() set(ruby OFF CACHE BOOL "" FORCE) message(STATUS "Ruby not found. Switching off ruby option") endif() else() string(REGEX REPLACE "([0-9]+).*$" "\\1" RUBY_MAJOR_VERSION "${RUBY_VERSION}") string(REGEX REPLACE "[0-9]+\\.([0-9]+).*$" "\\1" RUBY_MINOR_VERSION "${RUBY_VERSION}") string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" RUBY_PATCH_VERSION "${RUBY_VERSION}") endif() endif() #---Check for GCCXML installation------------------------------------------------------- if(cintex OR reflex) message(STATUS "Looking for GCCXML") find_package(GCCXML) if(GCCXML_FOUND) set(gccxml ${GCCXML_EXECUTABLE}) else() if(fail-on-missing) message(FATAL_ERROR "GCCXML not found and cintex or reflex option required") endif() endif() endif() #---Check for OpenGL installation------------------------------------------------------- if(opengl) message(STATUS "Looking for OpenGL") find_package(OpenGL) if(NOT OPENGL_FOUND OR NOT OPENGL_GLU_FOUND) if(fail-on-missing) message(FATAL_ERROR "OpenGL package not found and opengl option required") else() message(STATUS "OpenGL not found. Switching off opengl option") set(opengl OFF CACHE BOOL "" FORCE) endif() endif() if(APPLE) find_path(OPENGL_INCLUDE_DIR GL/gl.h DOC "Include for OpenGL on OSX") endif() endif() #---Check for Graphviz installation------------------------------------------------------- if(gviz) message(STATUS "Looking for Graphviz") find_package(Graphviz) if(NOT GRAPHVIZ_FOUND) if(fail-on-missing) message(FATAL_ERROR "Graphviz package not found and gviz option required") else() message(STATUS "Graphviz not found. Switching off gviz option") set(gviz OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Qt installation------------------------------------------------------- if(qt OR qtgsi) message(STATUS "Looking for Qt4") find_package(Qt4 COMPONENTS QtCore QtGui) if(NOT QT4_FOUND) if(fail-on-missing) message(FATAL_ERROR "Qt4 package not found and qt/qtgsi component required") else() message(STATUS "Qt4 not found. Switching off qt/qtgsi option") set(qt OFF CACHE BOOL "" FORCE) set(qtgsi OFF CACHE BOOL "" FORCE) endif() else() MATH(EXPR QT_VERSION_NUM "${QT_VERSION_MAJOR}*10000 + ${QT_VERSION_MINOR}*100 + ${QT_VERSION_PATCH}") endif() endif() #---Check for Bonjour installation------------------------------------------------------- if(bonjour) message(STATUS "Looking for Bonjour") find_package(Bonjour) if(NOT BONJOUR_FOUND) if(fail-on-missing) message(FATAL_ERROR "Bonjour/Avahi libraries not found and Bonjour component required") else() message(STATUS "Bonjour not found. Switching off bonjour option") set(bonjour OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for krb5 Support----------------------------------------------------------- if(krb5) message(STATUS "Looking for Kerberos 5") find_package(Kerberos5) if(NOT KRB5_FOUND) if(fail-on-missing) message(FATAL_ERROR "Kerberos 5 libraries not found and they are required") else() message(STATUS "Kerberos 5 not found. Switching off krb5 option") set(krb5 OFF CACHE BOOL "" FORCE) endif() endif() endif() if(krb5 OR afs) find_library(COMERR_LIBRARY com_err) if(COMERR_LIBRARY) set(COMERR_LIBRARIES ${COMERR_LIBRARY}) endif() endif() #---Check for XML Parser Support----------------------------------------------------------- if(xml) message(STATUS "Looking for LibXml2") find_package(LibXml2) if(NOT LIBXML2_FOUND) if(fail-on-missing) message(FATAL_ERROR "LibXml2 libraries not found and they are required (xml option enabled)") else() message(STATUS "LibXml2 not found. Switching off xml option") set(xml OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for OpenSSL------------------------------------------------------------------ if(ssl) message(STATUS "Looking for OpenSSL") find_package(OpenSSL) if(NOT OPENSSL_FOUND) if(fail-on-missing) message(FATAL_ERROR "OpenSSL libraries not found and they are required (ssl option enabled)") else() message(STATUS "OpenSSL not found. Switching off ssl option") set(ssl OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Castor------------------------------------------------------------------- if(castor OR rfio) message(STATUS "Looking for Castor") find_package(Castor) if(NOT CASTOR_FOUND) if(fail-on-missing) message(FATAL_ERROR "Castor libraries not found and they are required (castor option enabled)") else() message(STATUS "Castor not found. Switching off castor/rfio option") set(castor OFF CACHE BOOL "" FORCE) set(rfio OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for MySQL------------------------------------------------------------------- if(mysql) message(STATUS "Looking for MySQL") find_package(MySQL) if(NOT MYSQL_FOUND) if(fail-on-missing) message(FATAL_ERROR "MySQL libraries not found and they are required (mysql option enabled)") else() message(STATUS "MySQL not found. Switching off mysql option") set(mysql OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Oracle------------------------------------------------------------------- if(oracle) message(STATUS "Looking for Oracle") find_package(Oracle) if(NOT ORACLE_FOUND) if(fail-on-missing) message(FATAL_ERROR "Oracle libraries not found and they are required (orable option enabled)") else() message(STATUS "Oracle not found. Switching off oracle option") set(oracle OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for ODBC------------------------------------------------------------------- if(odbc) message(STATUS "Looking for ODBC") find_package(ODBC) if(NOT ODBC_FOUND) if(fail-on-missing) message(FATAL_ERROR "ODBC libraries not found and they are required (odbc option enabled)") else() message(STATUS "ODBC not found. Switching off odbc option") set(odbc OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for PostgreSQL------------------------------------------------------------------- if(pgsql) message(STATUS "Looking for PostgreSQL") find_package(PostgreSQL) if(NOT POSTGRESQL_FOUND) if(fail-on-missing) message(FATAL_ERROR "PostgreSQL libraries not found and they are required (pgsql option enabled)") else() message(STATUS "PostgreSQL not found. Switching off pgsql option") set(pgsql OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for SQLite------------------------------------------------------------------- if(sqlite) message(STATUS "Looking for SQLite") find_package(Sqlite) if(NOT SQLITE_FOUND) if(fail-on-missing) message(FATAL_ERROR "SQLite libraries not found and they are required (sqlite option enabled)") else() message(STATUS "SQLite not found. Switching off sqlite option") set(sqlite OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Pythia6------------------------------------------------------------------- if(pythia6) message(STATUS "Looking for Pythia6") find_package(Pythia6) if(NOT PYTHIA6_FOUND) if(fail-on-missing) message(FATAL_ERROR "Pythia6 libraries not found and they are required (pythia6 option enabled)") else() message(STATUS "Pythia6 not found. Switching off pythia6 option") set(pythia6 OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Pythia8------------------------------------------------------------------- if(pythia8) message(STATUS "Looking for Pythia8") find_package(Pythia8) if(NOT PYTHIA8_FOUND) if(fail-on-missing) message(FATAL_ERROR "Pythia8 libraries not found and they are required (pythia8 option enabled)") else() message(STATUS "Pythia8 not found. Switching off pythia8 option") set(pythia8 OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for FFTW3------------------------------------------------------------------- if(fftw3) message(STATUS "Looking for FFTW3") find_package(FFTW) if(NOT FFTW_FOUND) if(fail-on-missing) message(FATAL_ERROR "FFTW3 libraries not found and they are required (fftw3 option enabled)") else() message(STATUS "FFTW3 not found. Switching off fftw3 option") set(fftw3 OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for fitsio------------------------------------------------------------------- if(fitsio) if(builtin_cfitsio) set(cfitsio_version 3.280) string(REPLACE "." "" cfitsio_version_no_dots ${cfitsio_version}) message(STATUS "Downloading and building CFITSIO version ${cfitsio_version}") ExternalProject_Add( CFITSIO URL ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio${cfitsio_version_no_dots}.tar.gz INSTALL_DIR ${CMAKE_BINARY_DIR} CONFIGURE_COMMAND /configure --prefix BUILD_IN_SOURCE 1 ) set(CFITSIO_INCLUDE_DIR ${CMAKE_BINARY_DIR}/include) set(CFITSIO_LIBRARIES -L${CMAKE_BINARY_DIR}/lib -lcfitsio) else() message(STATUS "Looking for CFITSIO") find_package(CFITSIO) if(NOT CFITSIO_FOUND) message(STATUS "CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'") message(STATUS " For the time being switching off 'fitsio' option") set(fitsio OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check Shadow password support---------------------------------------------------- if(shadowpw) if(NOT EXISTS /etc/shadow) #---TODO--The test always succeeds because the actual file is protected if(NOT CMAKE_SYSTEM_NAME MATCHES Linux) message(STATUS "Support Shadow password not found. Switching off shadowpw option") set(shadowpw OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Alien support---------------------------------------------------------------- if(alien) find_package(Alien) if(NOT ALIEN_FOUND) message(STATUS "Alien API not found. Set variable ALIEN_DIR to point to your Alien installation") message(STATUS "For the time being switching OFF 'alien' option") set(alien OFF CACHE BOOL "" FORCE) endif() endif() #---Monalisa support---------------------------------------------------------------- if(monalisa) find_package(Monalisa) if(NOT MONALISA_FOUND) message(STATUS "Monalisa not found. Set variable MONALISA_DIR to point to your Monalisa installation") message(STATUS "For the time being switching OFF 'monalisa' option") set(monalisa OFF CACHE BOOL "" FORCE) endif() endif() #---Check for Xrootd support--------------------------------------------------------- if(xrootd) message(STATUS "Looking for XROOTD") if(NOT builtin_xrootd) find_package(XROOTD) if(NOT XROOTD_FOUND) message(STATUS "XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation") message(STATUS " Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally'") message(STATUS " For the time being switching OFF 'xrootd' option") set(xrootd OFF CACHE BOOL "" FORCE) endif() else() set(xrootd_version 3.1.0) set(xrootd_versionnum 300010000) message(STATUS "Downloading and building XROOTD version ${xrootd_version}") ExternalProject_Add( XROOTD URL http://xrootd.slac.stanford.edu/download/v${xrootd_version}/xrootd-${xrootd_version}.tar.gz INSTALL_DIR ${CMAKE_BINARY_DIR} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= ) set(XROOTD_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/include/xrootd) set(XROOTD_LIBRARIES -L${CMAKE_BINARY_DIR}/lib -lXrdMain -lXrdUtils -lXrdClient) set(XROOTD_CFLAGS "-DROOTXRDVERS=${xrootd_versionnum}") endif() endif() #---Check for gfal------------------------------------------------------------------- if(gfal) find_package(GFAL) if(NOT GFAL_FOUND) if(fail-on-missing) message(FATAL_ERROR "Gfal library not found and is required (gfal option enabled)") else() message(STATUS "GFAL library not found. Set variable GFAL_DIR to point to your gfal installation and the variable SRM_IFCE_DIR to the srm_ifce installation") message(STATUS "For the time being switching OFF 'gfal' option") set(gfal OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for dCache------------------------------------------------------------------- if(dcache) find_package(DCAP) if(NOT DCAP_FOUND) if(fail-on-missing) message(FATAL_ERROR "dCap library not found and is required (dcache option enabled)") else() message(STATUS "dCap library not found. Set variable DCAP_DIR to point to your dCache installation") message(STATUS "For the time being switching OFF 'dcache' option") set(dcache OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for Ldap-------------------------------------------------------------------- if(ldap) find_package(Ldap) if(NOT LDAP_FOUND) if(fail-on-missing) message(FATAL_ERROR "ldap library not found and is required (ldap option enabled)") else() message(STATUS "ldap library not found. Set variable LDAP_DIR to point to your ldap installation") message(STATUS "For the time being switching OFF 'ldap' option") set(ldap OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for globus-------------------------------------------------------------------- if(globus) find_package(Globus) if(NOT GLOBUS_FOUND) if(fail-on-missing) message(FATAL_ERROR "globus libraries not found and is required ('globus' option enabled)") else() message(STATUS "globus libraries not found. Set environment var GLOBUS_LOCATION or varibale GLOBUS_DIR to point to your globus installation") message(STATUS "For the time being switching OFF 'globus' option") set(globus OFF CACHE BOOL "" FORCE) endif() endif() endif() #---Check for ftgl if needed---------------------------------------------------------- if(NOT builtin_ftgl) find_package(FTGL) if(NOT FTGL_FOUND) if(fail-on-missing) message(FATAL_ERROR "ftgl library not found and is required ('builtin_ftgl' is OFF). Set varible FTGL_ROOT_DIR to installation location") else() message(STATUS "ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation") message(STATUS "For the time being switching ON 'builtin_ftgl' option") set(builtin_ftgl ON CACHE BOOL "" FORCE) endif() endif() endif() if(builtin_ftgl) set(FTGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/graf3d/ftgl/inc) set(FTGL_CFLAGS -DBUILTIN_FTGL) set(FTGL_LIBRARIES FTGL) endif() #---Report non implemented options--------------------------------------------------- foreach(opt afs chirp clarens glite hdfs pch peac sapdb srp) if(${opt}) message(STATUS ">>> Option '${opt}' not implemented yet! Signal your urgency to pere.mato@cern.ch") set(${opt} OFF CACHE BOOL "" FORCE) endif() endforeach()