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:
parent
c2d9b5944a
commit
dc20787020
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user