FindSQLite

Find the native SQLite includes and libraries

Imported Targets

If SQLite is found, this module defines the following IMPORTED targets:

SQLite::SQLite           - The main SQLite library
SQLite::SQLiteExecutable - The main SQlite program

Result Variables

This module wil set the following variables in your project:

SQLite_FOUND        - True if an install of SQLite is found
SQLite_INCLUDE_DIRS - Location of SQLite header files
SQLite_LIBRARIES    - The SQLite libraries
SQLite_EXECUTABLE   - Path to sqlite executable
SQLite_VERSION      - The version of the found SQLite install

Note

Fermilab “UPS” installs of SQLite rename the sqlite3 library to libsqlite3_ups.EXT. When using this module in a UPS environment where sqlite has been “setup”, sqlite3_ups is prepended to the list of library names to be searched for by find_library.