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

Configuration - Inspector with SymLink error #198

When configure Inspector with Symlink flag - configuration failed.
Added force creating include folder to symlink creating.
This commit is contained in:
dpasukhi 2024-12-15 15:37:37 +00:00
parent 1e17479b1f
commit 73dcda743b
2 changed files with 8 additions and 0 deletions

View File

@ -965,6 +965,10 @@ if (BUILD_Inspector)
endforeach()
# collect all the headers to <binary dir>/inc/inspector folder
# Ensure the include directory exists
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/${INSTALL_DIR_INCLUDE}/inspector")
string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
message (STATUS "\nInfo: \(${CURRENT_TIME}\) Start collecting all OCCT tool header files into ${CMAKE_BINARY_DIR}/inc/inspector ...")
COLLECT_AND_INSTALL_OCCT_HEADER_FILES ("${CMAKE_BINARY_DIR}" "${BUILD_TOOL_TOOLKITS}" "tools" "${INSTALL_DIR_INCLUDE}/inspector")

View File

@ -343,6 +343,10 @@ foreach (OCCT_TOOL ${OCCT_TOOLS})
endforeach()
# collect all the headers to <binary dir>/inc/inspector folder
# Ensure the include directory exists
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/${INSTALL_DIR_INCLUDE}/inspector")
string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
message (STATUS "\nInfo: \(${CURRENT_TIME}\) Start collecting all OCCT tool header files into ${CMAKE_BINARY_DIR}/inc/inspector ...")
COLLECT_AND_INSTALL_OCCT_HEADER_FILES ("${CMAKE_BINARY_DIR}" "${BUILD_TOOL_TOOLKITS}" "tools" "${INSTALL_DIR_INCLUDE}/inspector")