aboutsummaryrefslogtreecommitdiff
path: root/ports/libwebm/no-samples.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
committerPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
commit773c8267dfb506f41c204f61042f30b6143a8095 (patch)
tree5946d1526c3ad77a2df80786a1370d96389d931b /ports/libwebm/no-samples.patch
parent6afbceb27fd2aa39c66f810a22f5d4ad97575110 (diff)
parent7859944528be28bee1fda9f325b78d6a7f02124e (diff)
downloadvcpkg-773c8267dfb506f41c204f61042f30b6143a8095.tar.gz
vcpkg-773c8267dfb506f41c204f61042f30b6143a8095.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/4564
Diffstat (limited to 'ports/libwebm/no-samples.patch')
-rw-r--r--ports/libwebm/no-samples.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/libwebm/no-samples.patch b/ports/libwebm/no-samples.patch
new file mode 100644
index 000000000..c160726b9
--- /dev/null
+++ b/ports/libwebm/no-samples.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b48868f..f2fe35b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -41,6 +41,7 @@ endif(WIN32)
+
+ include_directories("${LIBWEBM_SRC_DIR}")
+
++if(BUILD_SAMPLES)
+ # Sample section.
+ add_executable(sample
+ "${LIBWEBM_SRC_DIR}/sample.cpp")
+@@ -69,6 +70,7 @@ add_executable(webm2pes
+ "${LIBWEBM_SRC_DIR}/webm2pes.cc"
+ "${LIBWEBM_SRC_DIR}/webm2pes.h")
+ target_link_libraries(webm2pes LINK_PUBLIC webm)
++endif()
+
+ install(
+ TARGETS webm