<html><head><style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body><div dir="ltr">Hi,<br><br>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.<br><br>We only link against the following libraries: XercesC, ECW, PDFium, OpenSSL, CURL, Expat, Sqlite3.<br><br>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.<br><br>Is there some setting to specify static linking? I notice some packages have *_IS_STATIC or *_USE_STATIC<br><br>Thanks,<br><br>Derek Newhall<br></div>
<br><br><p style="font-family: Verdana; font-size:10pt; color:#777777;"><b>Disclaimer</b></p><p style="font-family: Verdana; font-size:8pt; color:#777777;">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.</p></body></html>