mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Enable /utf-8 on MSVC.
This commit is contained in:
@@ -45,6 +45,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
# The CUDA `host_runtime.h` header emits this for
|
||||
# `__cudaUnregisterBinaryUtil`.
|
||||
nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "/wd4505")
|
||||
|
||||
# Required by fmt:
|
||||
nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "/utf-8")
|
||||
else()
|
||||
nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "-Wall")
|
||||
nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "-Wextra")
|
||||
|
||||
Reference in New Issue
Block a user