Skip to content

Commit

Permalink
Fix .dll installation directory on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio <silvio@traversaro.it>
  • Loading branch information
traversaro committed Nov 29, 2021
1 parent fefc79e commit d332026
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ if(MSVC)
target_compile_options(backward PUBLIC /wd4267)
target_compile_options(backward PUBLIC /wd4996)
endif()
install (TARGETS backward DESTINATION ${LIB_INSTALL_DIR})
install (TARGETS backward
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
RUNTIME DESTINATION ${BIN_INSTALL_DIR})

#===============================================================================
# Used for the installed version.
Expand Down

0 comments on commit d332026

Please sign in to comment.