windows-amd64-prebuilt-libr.../vcpkg/ports/libpcap/0001-fix-package-name.patch
2020-10-10 14:36:42 +02:00

13 lines
532 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55b93f1..f4f9d51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2358,7 +2358,6 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pcap-namedb.h DESTINATION include)
# On UN*X, and on Windows when not using MSVC, generate libpcap.pc and
# pcap-config and process man pages and arrange that they be installed.
if(NOT MSVC)
- set(PACKAGE_NAME ${LIBRARY_NAME})
set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix "\${prefix}")
set(includedir "\${prefix}/include")