diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index a9bab7ca3e031e68558457b3f0ad4cac9379d9d5..d3f850df15e5bd5198c163fd27862acb22f07f9f 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -417,14 +417,17 @@ if(LCG_TARGET MATCHES "i686") set (xerces_config_opts --disable-sse2) endif() if(heptools_version MATCHES experimental) -set(xerces_config_opts --enable-transcoder-iconv --enable-msgloader-iconv) +set(xerces_config_opts --enable-transcoder-iconv --enable-msgloader-iconv --disable-static) endif() LCGPackage_Add( XercesC URL http://service-spi.web.cern.ch/service-spi/external/tarFiles/xerces-c-<XercesC_<NATIVE_VERSION>_author>.tar.gz - CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> ${xerces_config_opts} + CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> ${xerces_config_opts} + BUILD_COMMAND <VOID> + INSTALL_COMMAND make install + BUILD_IN_SOURCE 1 ) #---tbb-----------------------------------------------------------------------------------------------