Skip to content

Commit

Permalink
AND NOT USE_CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Apr 16, 2024
1 parent eda3295 commit c6cc6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/util_func.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function(genai_set_target_compile_options target)
if (HAS_SDL)
target_compile_options(${target} PRIVATE "/sdl")
endif ()
if (HAS_QSPECTRE)
if (HAS_QSPECTRE AND NOT USE_CUDA)
target_compile_options(${target} PRIVATE "/Qspectre")
endif ()
if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm" AND NOT USE_CUDA)
Expand Down

0 comments on commit c6cc6fa

Please sign in to comment.