mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Disable fmtlib's use of llvm _BitInt, as it is not supported when using nvcc.
This commit is contained in:
@@ -63,6 +63,9 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# fmtlib uses llvm's _BitInt internally, which is not available when compiling through nvcc:
|
||||
target_compile_definitions(nvbench.build_interface INTERFACE "FMT_USE_BITINT=0")
|
||||
|
||||
# Experimental filesystem library
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU OR CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||
target_link_libraries(nvbench.build_interface INTERFACE stdc++fs)
|
||||
|
||||
Reference in New Issue
Block a user