diff --git a/cmake/ecwam_expand_drv_types.cmake b/cmake/ecwam_expand_drv_types.cmake index 89e295618..6006c4d6c 100644 --- a/cmake/ecwam_expand_drv_types.cmake +++ b/cmake/ecwam_expand_drv_types.cmake @@ -18,7 +18,7 @@ macro( ecwam_expand_drv_types ) list(APPEND FYPP_ARGS -DPARKIND1_SINGLE_NEMO) endif() - if( HAVE_ACC ) + if( HAVE_LOKI AND NOT LOKI_MODE MATCHES "idem|idem-stack" ) list(APPEND FYPP_ARGS -DWAM_GPU) endif()