From c1425a3f5141605908b57419b80498fb9da6152b Mon Sep 17 00:00:00 2001 From: ibs Date: Fri, 5 Feb 2016 19:14:56 +0300 Subject: [PATCH] 0027138: Configuration, Cmake - incorrect binaries installation path for single generators specify a path for toolkit shared library --- adm/cmake/occt_toolkit.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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