vcpkg/ports/libilbc/do-not-build-ilbc_test.patch
Gerald Combs 73cfc65919
[libilbc] New port (#15331)
* [libilbc] New port

libilbc is an Internet Low Bit Rate Codec (iLBC) / RFC 3951 codec.
Closes #14836.

* Update ports/libilbc/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update ports/libilbc/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [libilbc] Use vcpkg_copy_tools, update arm-uwp.

* [libilbc] More packaging cleanups.

Add vcpkg_fixup_pkgconfig after vcpkg_install_cmake.

Install docs into $PREFIX/share/libilbc.

Remove ilbc_test after a dynamic build and the bin and debug/bin dirs
after a static build.

Fixup include/ilbc_export.h for static builds.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-12-30 22:37:04 -08:00

14 lines
565 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 671ded64d1..1d01f737c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -332,7 +332,7 @@ install(FILES ilbc.h ${CMAKE_CURRENT_BINARY_DIR}/ilbc_export.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES CONTRIBUTING.md NEWS.md README.md
DESTINATION ${CMAKE_INSTALL_DOCDIR})
-install(TARGETS ilbc ilbc_test
+install(TARGETS ilbc
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})