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 authored and jaredgrubb committed Mar 25, 2022
1 parent 6d3b803 commit d6a0987
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 @@ -91,7 +91,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 d6a0987

Please sign in to comment.