mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 20:27:56 +08:00
24 lines
876 B
Diff
24 lines
876 B
Diff
|
From 4370dea04189fb9d9a94e1f4ee96ef2d24937fc9 Mon Sep 17 00:00:00 2001
|
||
|
From: Mikhail Paulyshka <me@mixaill.tk>
|
||
|
Date: Thu, 23 Mar 2017 17:55:14 +0300
|
||
|
Subject: [PATCH] fix shared libs building
|
||
|
|
||
|
---
|
||
|
libtiff/CMakeLists.txt | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt
|
||
|
index 087dfa9..20fa8b4 100644
|
||
|
--- a/libtiff/CMakeLists.txt
|
||
|
+++ b/libtiff/CMakeLists.txt
|
||
|
@@ -142,6 +142,7 @@ if(cxx)
|
||
|
add_library(tiffxx ${tiffxx_SOURCES} ${tiffxx_HEADERS})
|
||
|
target_link_libraries(tiffxx tiff)
|
||
|
set_target_properties(tiffxx PROPERTIES SOVERSION ${SO_COMPATVERSION})
|
||
|
+ set_target_properties(tiffxx PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||
|
if(NOT CYGWIN)
|
||
|
# This property causes shared libraries on Linux to have the full version
|
||
|
# encoded into their final filename. We disable this on Cygwin because
|
||
|
--
|
||
|
2.11.0.windows.1
|