From dc2078702038e41612b54f232293ec5fb0b4e590 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 6 Mar 2025 23:30:08 +0100 Subject: [PATCH] FindSQLite3: Replace REQUIRED_VARS order This displays the library name in the result message instead of the include directory. In cases where the include directory is /usr/include is a bit less informative compared to a library name. For example, /usr/lib/x86_64-linux-gnu/libsqlite3.so --- Modules/FindSQLite3.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindSQLite3.cmake b/Modules/FindSQLite3.cmake index fcacbefc7d..60eb541e5e 100644 --- a/Modules/FindSQLite3.cmake +++ b/Modules/FindSQLite3.cmake @@ -66,7 +66,7 @@ endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(SQLite3 - REQUIRED_VARS SQLite3_INCLUDE_DIR SQLite3_LIBRARY + REQUIRED_VARS SQLite3_LIBRARY SQLite3_INCLUDE_DIR VERSION_VAR SQLite3_VERSION) # Create the imported target