mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-30 19:51:13 +00:00
Use the new(ish) PREFIX option of rapids-cmake version, git revision header utils.
Generate macros prefixed with NVBENCH instead of redefining them from NVBench.
This commit is contained in:
@@ -20,6 +20,9 @@ endmacro()
|
||||
# Called after project(...)
|
||||
macro(nvbench_init_rapids_cmake)
|
||||
rapids_cmake_build_type(Release)
|
||||
rapids_cmake_write_version_file("${NVBench_BINARY_DIR}/nvbench/detail/version.cuh")
|
||||
rapids_cmake_write_version_file(
|
||||
"${NVBench_BINARY_DIR}/nvbench/detail/version.cuh"
|
||||
PREFIX "NVBENCH"
|
||||
)
|
||||
rapids_cpm_init()
|
||||
endmacro()
|
||||
|
||||
Reference in New Issue
Block a user