aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-02-18 17:19:04 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-02-20 14:17:32 +0100
commit20112ed8467c492a923b0ed2fb2d878c1a14ba44 (patch)
treef987c8d8037ef2ab6b348db5e4e9987c584ee876
parent63b4b8c7bdb66e492daa89e8c20a5018082ddd29 (diff)
cmake: install the dll file to the correct directory
-rw-r--r--lib/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index e7886ac55..49a340938 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -98,4 +98,7 @@ if(WIN32)
endif()
endif()
-install(TARGETS ${LIB_NAME} DESTINATION lib)
+install(TARGETS ${LIB_NAME}
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin)