diff --git a/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt b/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt
index f2e2cd5afe4eb0a94bb963bf084f50ed3ca0d0cf..a142d524b69cb605b85c496aa140c806ad258dfd 100644
--- a/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt
+++ b/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt
@@ -80,8 +80,8 @@ function(add_tensor_runtime target_name)
   set_property(TARGET ${target_name} PROPERTY CUDA_ARCHITECTURES 60)
   target_compile_options(
     ${target_name} PRIVATE
-    --expt-relaxed-constexpr -maxrregcount 32 -Xcompiler ${OpenMP_CXX_FLAGS}
-    $<$<CONFIG:DEBUG>:-lineinfo -Xcompiler -ggdb>
+    --expt-relaxed-constexpr -maxrregcount 32 -Xcompiler=${OpenMP_CXX_FLAGS}
+    $<$<CONFIG:DEBUG>:-lineinfo -Xcompiler=-ggdb>
   )
   target_include_directories(${target_name} PUBLIC ${INCLUDES})
   target_link_directories(${target_name} PUBLIC ${LINK_DIR})