aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyexif/namespace_tinyxml2.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-05 11:46:32 -0800
committerGitHub <noreply@github.com>2018-12-05 11:46:32 -0800
commitb656594f3920be2fcc92629cdf084543b223bbfb (patch)
tree6c915ab9d5229ac8bee60532435a902b9aaee071 /ports/tinyexif/namespace_tinyxml2.patch
parent18ba27b4ca568f6296e4e9266635459af1776623 (diff)
parent3b25ec2d5c79b1597e37358ee74cc4f9facd0cb4 (diff)
downloadvcpkg-b656594f3920be2fcc92629cdf084543b223bbfb.tar.gz
vcpkg-b656594f3920be2fcc92629cdf084543b223bbfb.zip
Merge pull request #4759 from jasjuang/tinyxml2
[tinyxml2] update to 7.0.1
Diffstat (limited to 'ports/tinyexif/namespace_tinyxml2.patch')
-rw-r--r--ports/tinyexif/namespace_tinyxml2.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/ports/tinyexif/namespace_tinyxml2.patch b/ports/tinyexif/namespace_tinyxml2.patch
new file mode 100644
index 000000000..d27c99c68
--- /dev/null
+++ b/ports/tinyexif/namespace_tinyxml2.patch
@@ -0,0 +1,31 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f22584b..1ba8329 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -84,7 +84,7 @@ if(BUILD_SHARED_LIBS)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251") # needs to have dll-interface
+ endif()
+
+- target_link_libraries(TinyEXIF tinyxml2)
++ target_link_libraries(TinyEXIF tinyxml2::tinyxml2)
+ set_target_properties(TinyEXIF PROPERTIES
+ COMPILE_DEFINITIONS "TINYEXIF_EXPORT"
+ VERSION "${GENERIC_LIB_VERSION}"
+@@ -121,7 +121,7 @@ endif()
+ if(BUILD_STATIC_LIBS)
+ add_library(TinyEXIFstatic STATIC TinyEXIF.cpp TinyEXIF.h)
+
+- target_link_libraries(TinyEXIFstatic tinyxml2)
++ target_link_libraries(TinyEXIFstatic tinyxml2::tinyxml2)
+ set_target_properties(TinyEXIFstatic PROPERTIES
+ OUTPUT_NAME TinyEXIF
+ VERSION "${GENERIC_LIB_VERSION}"
+@@ -162,7 +162,7 @@ if(BUILD_DEMO)
+ target_compile_definitions(TinyEXIFdemo PRIVATE TINYEXIF_IMPORT)
+ else(BUILD_STATIC_LIBS)
+ add_dependencies(TinyEXIFdemo TinyEXIFstatic)
+- target_link_libraries(TinyEXIFdemo TinyEXIFstatic tinyxml2)
++ target_link_libraries(TinyEXIFdemo TinyEXIFstatic tinyxml2::tinyxml2)
+ endif()
+ endif()
+