macro_optional_find_package (Sqlite3 ON) if (SQLITE3_FOUND) # SQLITE3_INCLUDE_DIR - Where to find Sqlite 3 header files (directory) # SQLITE3_LIBRARIES - Sqlite 3 libraries # SQLITE3_LIBRARY_RELEASE - Where the release library is # SQLITE3_LIBRARY_DEBUG - Where the debug library is # SQLITE3_FOUND - Set to TRUE if we found everything (library, includes and executable) endif (SQLITE3_FOUND)