pineapple/externals/vcpkg/ports/docopt/002-fix-install-path.patch
2022-07-23 03:01:36 +02:00

16 lines
580 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1aba5ae..5407e4a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -113,7 +113,10 @@ endif()
set(export_name "docopt-targets")
# Runtime package
-install(TARGETS docopt EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(TARGETS docopt EXPORT ${export_name}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# Development package
install(TARGETS docopt_s EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})