mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-05-01 12:11:14 +00:00
Handle use case where we are in a conda env but with a static fmt lib
This commit is contained in:
@@ -10,6 +10,9 @@ rapids_cpm_find(fmt 9.1.0
|
||||
"BUILD_SHARED_LIBS OFF"
|
||||
"CMAKE_POSITION_INDEPENDENT_CODE ON"
|
||||
)
|
||||
if(NOT fmt_ADDED)
|
||||
set(fmt_is_external TRUE)
|
||||
endif()
|
||||
|
||||
if(TARGET fmt::fmt AND NOT TARGET fmt)
|
||||
add_library(fmt ALIAS fmt::fmt)
|
||||
|
||||
Reference in New Issue
Block a user