vcpkg/ports/telnetpp/fix-install-paths-v3.patch
Vitaly 921f059d91
[telnetpp] Update port version 2.1.2 -> 3.1.0 (#36571)
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
2024-06-02 21:55:58 -07:00

46 lines
1.1 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2dc81a3..4d53fa6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,11 +260,11 @@ install(
EXPORT
telnetpp-targets
ARCHIVE DESTINATION
- ${CMAKE_INSTALL_LIBDIR}/telnetpp-${TELNETPP_VERSION}
+ lib
RUNTIME DESTINATION
- ${CMAKE_INSTALL_LIBDIR}/telnetpp-${TELNETPP_VERSION}
+ bin
LIBRARY DESTINATION
- ${CMAKE_INSTALL_BINDIR}/telnetpp-${TELNETPP_VERSION}
+ lib
)
install(
@@ -273,14 +273,14 @@ install(
NAMESPACE
KazDragon::
DESTINATION
- ${CMAKE_INSTALL_DATADIR}/telnetpp-${TELNETPP_VERSION}
+ share/telnetpp
)
install(
DIRECTORY
include/
DESTINATION
- ${CMAKE_INSTALL_INCLUDEDIR}/telnetpp-${TELNETPP_VERSION}
+ include
)
install(
@@ -288,7 +288,7 @@ install(
"${CMAKE_CURRENT_BINARY_DIR}/telnetpp-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/telnetpp-config-version.cmake"
DESTINATION
- ${CMAKE_INSTALL_DATADIR}/telnetpp-${TELNETPP_VERSION}
+ share/telnetpp
)
if (TELNETPP_WITH_TESTS)