diff --git a/cime_config/machines/cmake_macros/oneapi-ifxgpu.cmake b/cime_config/machines/cmake_macros/oneapi-ifxgpu.cmake index 2c0261bd3ea1..f2d3319d6617 100644 --- a/cime_config/machines/cmake_macros/oneapi-ifxgpu.cmake +++ b/cime_config/machines/cmake_macros/oneapi-ifxgpu.cmake @@ -33,5 +33,5 @@ set(SFC "ifx") set(CXX_LINKER "CXX") string(APPEND SLIBS " -fiopenmp -fopenmp-targets=spir64") set(USE_SYCL "TRUE") -string(APPEND SYCL_FLAGS " -\-intel -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend \"-device 12.60.7\"") -string(APPEND CXX_LDFLAGS " -Wl,-\-defsym,main=MAIN_\_ -lifcore -\-intel -fsycl -lsycl -Xsycl-target-backend \"-device 12.60.7\"") +string(APPEND SYCL_FLAGS " --intel -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend -device 12.60.7") +string(APPEND CXX_LDFLAGS " -Wl,--defsym,main=MAIN__ -lifcore --intel -fsycl -lsycl -Xsycl-target-backend -device 12.60.7")