mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 14:28:59 +08:00
369878e686
* Update to 1.7.0 * Refresh patches, drop fix-proj4.patch * Restore GeoTIFF cmake package name (reverts #15750) * Add usage (reason: #15723) * Remove zlib dependency, transitive usage only * Move tools to optional feature * Modernize portfile, fix copyright * Don't install doc and man files * Trim main patch * Allow reduced tiff dependencies * Update versions * Remove libgeotiff uwp failure from CI baseline * Update GeoTIFF in gdal wrapper * Update versions * Update GeoTIFF in pdal config * Update versions * Switch to 'version' field * Update versions
17 lines
558 B
Diff
17 lines
558 B
Diff
diff --git a/libgeotiff/CMakeLists.txt b/libgeotiff/CMakeLists.txt
|
|
index b4a3cee..fd9f0a5 100644
|
|
--- a/libgeotiff/CMakeLists.txt
|
|
+++ b/libgeotiff/CMakeLists.txt
|
|
@@ -80,7 +80,11 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
|
|
|
|
IF(WIN32)
|
|
IF(MSVC)
|
|
+ IF(BUILD_SHARED_LIBS)
|
|
ADD_DEFINITIONS(-DBUILD_AS_DLL=1)
|
|
+ ELSE()
|
|
+ ADD_DEFINITIONS(-DBUILD_AS_DLL=0)
|
|
+ ENDIF()
|
|
ADD_DEFINITIONS(/DW4)
|
|
if (NOT (MSVC_VERSION VERSION_LESS 1400))
|
|
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
|