Commit 1acd264c authored by Daniel Wortmann's avatar Daniel Wortmann

Added -chase switch to configure.sh

parent 2059abc0
......@@ -21,6 +21,7 @@ do
-mpi) shift; CLI_USE_MPI=$1;;
-magma) shift; CLI_USE_MAGMA=$1;;
-gpu) shift; CLI_USE_GPU=$1;;
-chase) shift; CLI_USE_CHASE=$1;;
-link) shift; CLI_LIBRARIES=$1;;
-libdir) shift; CLI_LIBDIR="$CLI_LIBDIR $1";;
-flags) shift; CLI_FLAGS=$1;;
......
......@@ -13,6 +13,18 @@ try_compile(FLEUR_USE_CHASE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/cmake/tests/
# endif()
#endif()
if (defined CLI_USE_CHASE)
if ( CLI_USE_CHASE )
if (NOT FLEUR_USE_CHASE)
FLEUR_USE_CHASE=TRUE
message("Test for Chase failed, but you specified to use it anyway...")
endif()
else
if (FLEUR_USE_CHASE)
FLEUR_USE_CHASE=FALSE
message("Test for Chase succeeded, but you specified not to use it.")
endif()
endif()
message("ChASE Library found:${FLEUR_USE_CHASE}")
if (FLEUR_USE_CHASE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment