vcpkg/ports/socket-io-client/fix-install.patch

23 lines
651 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c2fad3..3f322b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,13 +72,11 @@ list(APPEND TARGET_LIBRARIES sioclient_tls)
endif()
install(FILES ${ALL_HEADERS}
- DESTINATION "${CMAKE_CURRENT_LIST_DIR}/build/include"
+ DESTINATION include
)
install(TARGETS ${TARGET_LIBRARIES}
- DESTINATION "${CMAKE_CURRENT_LIST_DIR}/build/lib/${CMAKE_BUILD_TYPE}"
-)
-
-install(FILES ${Boost_LIBRARIES}
- DESTINATION "${CMAKE_CURRENT_LIST_DIR}/build/lib/${CMAKE_BUILD_TYPE}"
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
)