Skip to content

Commit

Permalink
install dlls in CMAKE_INSTALL_BINDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
theodelrieu committed Nov 19, 2019
1 parent 92b38d0 commit e6793d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ endif()
set(export_name "docopt-targets")

# Runtime package
install(TARGETS docopt EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS docopt EXPORT ${export_name}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})

# Development package
install(FILES ${docopt_HEADERS} DESTINATION include/docopt)
Expand Down

0 comments on commit e6793d0

Please sign in to comment.