Skip to content

Commit

Permalink
Fix faultinj spdlog dependency (NVIDIA#968)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lowe <jlowe@nvidia.com>
  • Loading branch information
jlowe authored Feb 22, 2023
1 parent 32329a7 commit a19dbe4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/main/cpp/faultinj/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -22,20 +22,15 @@ project(

set(CMAKE_CXX_STANDARD 17)

find_package(Boost REQUIRED)

add_library(
cufaultinj SHARED
faultinj.cu
)

find_path(SPDLOG_INCLUDE "spdlog"
HINTS "$ENV{RMM_ROOT}/_deps/spdlog-src/include")

include_directories(
"${SPDLOG_INCLUDE}"
target_link_libraries(
cufaultinj PRIVATE spdlog::spdlog_header_only
)

target_link_libraries(
cufaultinj CUDA::cupti_static
cufaultinj PRIVATE CUDA::cupti_static
)

0 comments on commit a19dbe4

Please sign in to comment.