diff --git a/adm/cmake/occt_toolkit.cmake b/adm/cmake/occt_toolkit.cmake index 329a9f6a10..947150be13 100644 --- a/adm/cmake/occt_toolkit.cmake +++ b/adm/cmake/occt_toolkit.cmake @@ -147,7 +147,10 @@ else() add_library (${PROJECT_NAME} ${USED_SRCFILES} ${USED_INCFILES} ${USED_RCFILE}) if (DEFINED INSTALL_LIB_DIR) - install (TARGETS ${PROJECT_NAME} DESTINATION "${INSTALL_LIB_DIR}") + install (TARGETS ${PROJECT_NAME} + RUNTIME DESTINATION "${INSTALL_BIN_DIR}" + ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" + LIBRARY DESTINATION "${INSTALL_LIB_DIR}") else() install (TARGETS ${PROJECT_NAME} CONFIGURATIONS Release