From 3393e2d568f69f0510d16dd1d7a08f708251aead Mon Sep 17 00:00:00 2001 From: Attila Krasznahorkay <krasznaa@cern.ch> Date: Wed, 22 Jun 2016 12:09:57 +0200 Subject: [PATCH] Fixing the library dependencies of the package (ByteStreamStoragePlugins-00-01-02) * Updating the library dependencies of the package to build the libraries correctly with -Wl,--no-undefined turned on. * The configuration now makes use of atlas_disable_as_needed() instead of tweaking compilation flags by hand. * Tagging as ByteStreamStoragePlugins-00-01-02 --- Event/ByteStreamStoragePlugins/CMakeLists.txt | 9 ++++----- Event/ByteStreamStoragePlugins/cmt/requirements | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Event/ByteStreamStoragePlugins/CMakeLists.txt b/Event/ByteStreamStoragePlugins/CMakeLists.txt index 3f13735079e..07739903258 100644 --- a/Event/ByteStreamStoragePlugins/CMakeLists.txt +++ b/Event/ByteStreamStoragePlugins/CMakeLists.txt @@ -1,4 +1,4 @@ -# $Id: CMakeLists.txt 730743 2016-03-17 15:28:57Z krasznaa $ +# $Id: CMakeLists.txt 756879 2016-06-22 12:09:32Z krasznaa $ ################################################################################ # Package: ByteStreamStoragePlugins ################################################################################ @@ -7,15 +7,14 @@ atlas_subdir( ByteStreamStoragePlugins ) # External dependencies: -find_package( Boost ) +find_package( Boost COMPONENTS system ) find_package( CASTOR COMPONENTS rfio ) -find_package( Xrootd COMPONENTS PosixPreload ) +find_package( Xrootd COMPONENTS Posix PosixPreload ) find_package( dcache_client ) find_package( tdaq-common COMPONENTS ers ) # Make sure that libraries are linked correctly: -string( REPLACE "-Wl,--as-needed" "" CMAKE_SHARED_LINKER_FLAGS - "${CMAKE_SHARED_LINKER_FLAGS}" ) +atlas_disable_as_needed() # Component(s) in the package: atlas_add_library( fReadCastor diff --git a/Event/ByteStreamStoragePlugins/cmt/requirements b/Event/ByteStreamStoragePlugins/cmt/requirements index 0c7e2869f1e..a9cc94b9ac4 100644 --- a/Event/ByteStreamStoragePlugins/cmt/requirements +++ b/Event/ByteStreamStoragePlugins/cmt/requirements @@ -72,3 +72,4 @@ use AtlasDCACHE AtlasDCACHE-* External -no_auto_imports #apply_tag $(use_GFAL) #use AtlasGFAL AtlasGFAL-* External -no_auto_imports ## + -- GitLab