diff --git a/cmake/std/atdm/utils/set_build_options.sh b/cmake/std/atdm/utils/set_build_options.sh index ac7b216c6dc0..ab6dc3e8a063 100644 --- a/cmake/std/atdm/utils/set_build_options.sh +++ b/cmake/std/atdm/utils/set_build_options.sh @@ -80,7 +80,7 @@ fi if [[ "${ATDM_CONFIG_COMPILER}" != "DEFAULT" ]] ; then # Custom compile already set export ATDM_CONFIG_CUSTOM_COMPILER_SET=1 -elif [[ $ATDM_CONFIG_BUILD_NAME == *"default" ]]; then +elif [[ $ATDM_CONFIG_BUILD_NAME == *"default"* ]]; then export ATDM_CONFIG_COMPILER=DEFAULT elif [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-8.0"* ]]; then export ATDM_CONFIG_COMPILER=CUDA-8.0