Skip to content

Commit

Permalink
Merge branch 'dev-macos-sqlite3'. Close #223.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanperez-keera committed Nov 8, 2023
2 parents a85a9f8 + 19bfee1 commit 1db7d21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/FindSQLite3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ if (NOT SQLITE3_FOUND)
#include <sqlite3.h>
int main() {
// The following assertion does not always hold on macs, due to a bug in
// the sqlite3 setup shipped on Mac. So, we only check if the OS is not
// Apple.
#ifndef __APPLE__
assert(strcmp(SQLITE_VERSION, sqlite3_libversion()) == 0);
#endif
printf(\"%s\", sqlite3_libversion());
return 0;
}
Expand Down

0 comments on commit 1db7d21

Please sign in to comment.