Skip to content
Snippets Groups Projects

Add warning if the authentication file not found and continue

Merged Andrii Verbytskyi requested to merge averbyts/athena:rzg_afs_access into master
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -36,8 +36,11 @@ endif()
@@ -36,8 +36,11 @@ endif()
set( AtlasAuthentication_native_version "v18" )
set( AtlasAuthentication_native_version "v18" )
set( AtlasAuthentication_home
set( AtlasAuthentication_home
"${ATLAS_EXTERNAL}/AtlasAuth/${AtlasAuthentication_native_version}" )
"${ATLAS_EXTERNAL}/AtlasAuth/${AtlasAuthentication_native_version}" )
atlas_install_xmls( ${AtlasAuthentication_home}/authentication.xml )
if (EXISTS ${AtlasAuthentication_home}/authentication.xml )
atlas_install_xmls( ${AtlasAuthentication_home}/authentication.xml )
 
else()
 
message(WARNING "The required authentication file ${AtlasAuthentication_home}/authentication.xml does not exist!")
 
endif()
# Configure the environment setup module:
# Configure the environment setup module:
configure_file(
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/AtlasAuthenticationEnvironmentConfig.cmake.in
${CMAKE_CURRENT_SOURCE_DIR}/AtlasAuthenticationEnvironmentConfig.cmake.in
Loading