Skip to content

Commit

Permalink
BUILD: Use CMAKE_CURRENT_LIST_DIR as prefix (#637)
Browse files Browse the repository at this point in the history
so that we can install build artifacts into a different path from one
passed as `build` when building UCC.

Signed-off-by: Masaki Kozuki <[email protected]>

Signed-off-by: Masaki Kozuki <[email protected]>
  • Loading branch information
crcrpar authored Nov 2, 2022
1 parent 525a9e0 commit 7dc9a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ucc-targets.cmake.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#

set(prefix "@prefix@")
set(prefix ${CMAKE_CURRENT_LIST_DIR}/../../..)
set(exec_prefix "@exec_prefix@")

add_library(ucc::ucc SHARED IMPORTED)
Expand Down

0 comments on commit 7dc9a5a

Please sign in to comment.