Skip to content
Snippets Groups Projects
Commit 3f0bd844 authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Walter Lampl
Browse files

Add warning if the authentication file not found and continue

parent ed439025
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,11 @@ endif()
set( AtlasAuthentication_native_version "v18" )
set( AtlasAuthentication_home
"${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_file(
${CMAKE_CURRENT_SOURCE_DIR}/AtlasAuthenticationEnvironmentConfig.cmake.in
......
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