Make sqlite3 fts5 check fatal

This commit is contained in:
Jonas Kvinge
2019-08-02 21:12:18 +02:00
parent dcf27f54aa
commit 43b9941dc8

View File

@@ -435,6 +435,6 @@ elseif(NOT HAVE_GSTREAMER)
message(WARNING "GStreamer is the only engine that is fully implemented. Using other engines is possible but not recommended.") message(WARNING "GStreamer is the only engine that is fully implemented. Using other engines is possible but not recommended.")
endif() endif()
if(NOT SQLITE3_FTS5) if(NOT SQLITE3_FTS5 AND NOT CMAKE_CROSSCOMPILING)
message(WARNING "sqlite3 must be enabled with FTS5. See: https://www.sqlite.org/fts5.html") message(FATAL_ERROR "sqlite3 must be enabled with FTS5. See: https://www.sqlite.org/fts5.html")
endif() endif()