Skip to content

Commit d6a0987

Browse files
theodelrieujaredgrubb
authored andcommitted
install dlls in CMAKE_INSTALL_BINDIR
1 parent 6d3b803 commit d6a0987

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ endif()
9191
set(export_name "docopt-targets")
9292

9393
# Runtime package
94-
install(TARGETS docopt EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
94+
install(TARGETS docopt EXPORT ${export_name}
95+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
96+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
97+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
9598

9699
# Development package
97100
install(FILES ${docopt_HEADERS} DESTINATION include/docopt)

0 commit comments

Comments
 (0)