pineapple-src/externals/vcpkg/ports/telnetpp/fix-install-paths.patch

49 lines
1 KiB
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
CMakeLists.txt | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09722a9..7bf9952 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -277,18 +277,18 @@ install(
EXPORT
telnetpp-config
ARCHIVE DESTINATION
- lib/telnetpp-${TELNETPP_VERSION}
+ lib
RUNTIME DESTINATION
- lib/telnetpp-${TELNETPP_VERSION}
+ bin
LIBRARY DESTINATION
- lib/telnetpp-${TELNETPP_VERSION}
+ lib
)
install(
DIRECTORY
include/
DESTINATION
- include/telnetpp-${TELNETPP_VERSION}
+ include
)
export(
@@ -302,7 +302,7 @@ install(
EXPORT
telnetpp-config
DESTINATION
- lib/telnetpp-${TELNETPP_VERSION}
+ share/telnetpp
)
include(CMakePackageConfigHelpers)
@@ -317,7 +317,7 @@ install(
FILES
"${CMAKE_CURRENT_BINARY_DIR}/telnetpp-config-version.cmake"
DESTINATION
- lib/telnetpp-${TELNETPP_VERSION}
+ share/telnetpp
)
if (TELNETPP_WITH_TESTS)