<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:CAFLLRpLMG4b9LM6OwBE-2oQDEnXnU19d7gW-s2xHBZa2scJXrA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div>I think it's possible: I chucked away my test container,
but I vaguely recall it was in something in the sqlite ogr
driver labelled "test"? There's a couple defined at the end
of ogr/ogrsf_frmts/sqlite/CMakeLists.txt — it's possible
commenting those blocks out will make the compile complete
with [core,tools,sqlite3]. There may be some downsides: I
don't know off the top of my head how the GDAL SQLite/GPKG
integration works wrt exposing the necessary GDAL functions
into SQLite. It might just work though :-) </div>
<div><br>
</div>
</div>
</div>
</blockquote>
<p>test_load_virtual_ogr and my_test_sqlite3_ext in
ogr/ogrsf_frmts/sqlite/CMakeLists.txt can be safely disabled.
Patch welcome to build them only under a "if (BUILD_SHARED_LIBS)",
if that may help. Although I don't see why they wouldn't build
with static linking. That would mean that SQLite::SQLite3 doesn't
fully capture its dependencies for static builds, which may be
well possible</p>
<span style="white-space: pre-wrap">
</span>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>