From 650aa17c85addd70780165a14df1dfa59942d9ca Mon Sep 17 00:00:00 2001 From: Andreas Pakulat Date: Mon, 28 Oct 2013 16:02:12 +0100 Subject: [PATCH] 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 fed8704f6..074fb091d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -729,6 +729,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")