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
This commit is contained in:
Peter Kokot 2025-03-06 23:30:08 +01:00
parent c2d9b5944a
commit dc20787020
No known key found for this signature in database
GPG Key ID: A94800907AA79B36

View File

@ -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