Skip to content

Commit d5d3feb

Browse files
committed
Fix lib not found
1 parent a11bbb4 commit d5d3feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ find_package(Boost REQUIRED)
4242
find_package(Torch REQUIRED)
4343

4444
find_library(NCCL_LIBRARY nccl HINTS ${NCCL_PATH})
45-
if("${NCCL_LIBRARY}" STREQUAL "NOTFOUND")
45+
if("${NCCL_LIBRARY}" STREQUAL "NCCL_LIBRARY-NOTFOUND")
4646
set(NCCL_LIBRARY "")
4747
endif()
4848

0 commit comments

Comments
 (0)