Hi,

We want to produce a version of gdal.dll with all the libraries we link
against statically linked. We had it working with Nmake in 3.5.1 but can't
seem to get it working with CMake in 3.6.2.

We only link against the following libraries: XercesC, ECW, PDFium,
OpenSSL, CURL, Expat, Sqlite3.

All the libraries pointed to in the associated *_LIBRARY CMake variables
are the .lib files and we tried option(BUILD_SHARED_LIBS OFF) but that
didn't work.

Is there some setting to specify static linking? I notice some packages
have *_IS_STATIC or *_USE_STATIC

Thanks,

Derek Newhall

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to