Skip to content

Commit a4efb8a

Browse files
committed
Fix typo in CMakeLists.txt
1 parent 7b66309 commit a4efb8a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cpp/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ elseif(NOT BUILD_SHARED_LIBS)
8383
set(BUILD_CAGRA_HNSWLIB OFF)
8484
endif()
8585

86-
if(NOT BUILD_SHARED_LIBS and CUVS_COMPILE_DYNAMIC_ONLY)
86+
if(NOT BUILD_SHARED_LIBS AND CUVS_COMPILE_DYNAMIC_ONLY)
8787
message(
8888
VERBOSE
89-
"cuVS: Ignorning `BUILD_SHARED_LIBS` and forcing shared library due to `CUVS_COMPILE_DYNAMIC_ONLY`"
89+
"cuVS: Ignoring `BUILD_SHARED_LIBS` and forcing shared library due to `CUVS_COMPILE_DYNAMIC_ONLY`"
9090
)
91-
endif()
91+
endif()
9292

9393
set(cuvs_compile_mode = "both")
9494
set(_cuvs_lib_targets cuvs cuvs_static)
@@ -577,7 +577,7 @@ if(NOT BUILD_CPU_ONLY)
577577
endif()
578578

579579
if(BUILD_CAGRA_HNSWLIB)
580-
target_link_libraries(cuvs_objs PUBLIC $<BUILD_LOCAL_INTERFACE:hnswlib::hnswlibL>)
580+
target_link_libraries(cuvs_objs PUBLIC $<BUILD_LOCAL_INTERFACE:hnswlib::hnswlib>)
581581
target_compile_definitions(cuvs_objs PUBLIC CUVS_BUILD_CAGRA_HNSWLIB)
582582
endif()
583583

0 commit comments

Comments
 (0)