# pseudo-library for code for mdrun
$<TARGET_OBJECTS:mdrun_objlib>
)
-if(NOT GMX_USE_OPENCL)
+if(NOT GMX_GPU_OPENCL)
# GPU resources may not be properly reinitialized between simulations in
# the same process.
# TODO: include this with the other test sources once the issue is resolved
# pseudo-library for code for mdrun
$<TARGET_OBJECTS:mdrun_objlib>
)
-if(NOT GMX_USE_OPENCL)
+if(NOT GMX_GPU_OPENCL)
# GPU resources may not be properly reinitialized between simulations in
# the same process.
# TODO: include this with the other test sources once the issue is resolved