Skip to content
Snippets Groups Projects
Commit 3393e2d5 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay Committed by Graeme Stewart
Browse files

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
parent 6e9eee8b
No related branches found
No related tags found
No related merge requests found
# $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
......
......@@ -72,3 +72,4 @@ use AtlasDCACHE AtlasDCACHE-* External -no_auto_imports
#apply_tag $(use_GFAL)
#use AtlasGFAL AtlasGFAL-* External -no_auto_imports
##
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment