1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0027138: Configuration, Cmake - incorrect binaries installation path for single generators

specify a path for toolkit shared library
This commit is contained in:
ibs 2016-02-05 19:14:56 +03:00 committed by abv
parent 3906794761
commit c1425a3f51

View File

@ -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