From 7e8674007d83b0899580091ff62fc6ecd157d03b Mon Sep 17 00:00:00 2001 From: Andreas Pakulat Date: Mon, 28 Oct 2013 16:02:12 +0100 Subject: [PATCH] Windows Fix installing the dll Without a runtime install directory, cmake won't install the dll at all. Only the import library was installed. So fix that. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f1b6ace1..595d9722 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -730,6 +730,7 @@ set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "Header files") install(TARGETS websockets websockets_shared LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} + RUNTIME DESTINATION bin COMPONENT libraries) set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")