Skip to content

Commit 3c5d98c

Browse files
authored
Fix printing directory of libmongocrypt with invalid version (#1017)
1 parent 1a97d00 commit 3c5d98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ elseif (NOT ENABLE_CLIENT_SIDE_ENCRYPTION STREQUAL OFF)
442442
endif ()
443443

444444
if (mongocrypt_FOUND AND "${mongocrypt_VERSION}" VERSION_LESS 1.5.0)
445-
message ("-- libmongocrypt found at ${LIBMONGOCRYPT_LIBRARY}")
445+
message ("-- libmongocrypt found at ${mongocrypt_DIR}")
446446
message ("-- libmongocrypt version ${mongocrypt_VERSION} found")
447447
message ("-- libmongocrypt version 1.5.0 is required to enable Client-Side Field Level Encryption Support.")
448448
set (REQUIRED_MONGOCRYPT_VERSION_FOUND OFF)

0 commit comments

Comments
 (0)