mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-28 09:58:53 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user