[gdal-dev] Build gdal as external cmake externalproject

Керим Хемраев kerim.khemraev at mail.ru
Sat Mar 6 05:56:17 PST 2021


Hi,
 
I need to build GDAL with PROJ support as cmake external project (ExternalProject_Add).
 
When building GDAL as SHARED library I need to build SHARED PROJ and PROJ depends on Sqlite3. That means that Sqlite3 should also be built as SHARED library but I can’t find a way to build SHARED Sqlite3 (via  Sqlite3-amalgamation )  with CMake. 
 
Actually my project already includes STATIC Sqlite3. So I’m thinking to build PROJ and GDAL statically is that possible (GDAL with PROJ support)? 
 
If anybody has idea please share it.
 
 
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210306/d5eb712e/attachment.html>


More information about the gdal-dev mailing list