aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxslt/msvc-no-suffix.patch
blob: 421e933bdb8118d84cc615e3dfe63f67b0849dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fb352475..a4bb094e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -247,7 +247,7 @@ set_target_properties(
 	SOVERSION ${LIBXSLT_MAJOR_VERSION}
 )
 
-if(MSVC)
+if(0) # Never add suffixes which are not added by the autotools build or the nmake makefiles
 	if(BUILD_SHARED_LIBS)
 		set_target_properties(
 			LibXslt
@@ -340,7 +340,7 @@ set_target_properties(
 	SOVERSION ${LIBEXSLT_MAJOR_VERSION}
 )
 
-if(MSVC)
+if(0) # same reason as above
 	if(BUILD_SHARED_LIBS)
 		set_target_properties(
 			LibExslt