From 040bec225873c695587c528967000bf0b1bb468b Mon Sep 17 00:00:00 2001 From: Zwelf Date: Thu, 9 Jul 2020 23:50:40 +0200 Subject: [PATCH] Fix FindSQLite3.cmake --- cmake/FindSQLite3.cmake | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/cmake/FindSQLite3.cmake b/cmake/FindSQLite3.cmake index 1c46c3843..dc251d576 100644 --- a/cmake/FindSQLite3.cmake +++ b/cmake/FindSQLite3.cmake @@ -29,17 +29,12 @@ if(NOT SQLite3_FOUND) find_package_handle_standard_args(SQLite3 DEFAULT_MSG SQLite3_INCLUDEDIR) mark_as_advanced(SQLite3_INCLUDEDIR SQLite3_LIBRARY) - - if(SQLite3_FOUND) - set(SQLite3_INCLUDE_DIRS ${SQLite3_INCLUDEDIR}) - if(SQLite3_LIBRARY) - set(SQLite3_LIBRARIES ${SQLite3_LIBRARY}) - else() - set(SQLite3_LIBRARIES) - endif() - endif() endif() if(SQLite3_FOUND) - is_bundled(SQLite3_BUNDLED "${SQLite3_LIBRARY}") + if(SQLite3_LIBRARY) + set(SQLite3_LIBRARIES ${SQLite3_LIBRARY}) + else() + set(SQLite3_LIBRARIES) + endif() endif()