From d676c5b375ecb143410ce4a8a9b6dd86b035b40d Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Wed, 1 Apr 2015 10:57:08 +0100 Subject: [PATCH] Libraries are treated as runtime objects on Windows When the library is created as a *.dll on Windows it is treated like a runtime object so we must proivde the destination for the runtime objects in our install command --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 818e6d54..b0542543 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -42,6 +42,7 @@ install( TARGETS benchmark ARCHIVE DESTINATION lib LIBRARY DESTINATION lib + RUNTIME DESTINATION bin COMPONENT library) install(