From 9cd174509ce9e7895f8cc7cc2944f89192a3f4cf Mon Sep 17 00:00:00 2001 From: Pasukhin Dmitry Date: Thu, 20 Mar 2025 13:09:23 +0000 Subject: [PATCH] Configuration - Resource generation source path fix #453 Fix header file path generation in OCCT resource macro. Regression after reorganizing repository. --- adm/cmake/occt_resources.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/cmake/occt_resources.cmake b/adm/cmake/occt_resources.cmake index e83c205cc7..b30d152f8d 100644 --- a/adm/cmake/occt_resources.cmake +++ b/adm/cmake/occt_resources.cmake @@ -39,7 +39,7 @@ macro (OCCT_GENERATE_CONTENT_ONLY CurrentResource) endforeach() set (OCCT_HEADER_FILE_CONTENT "${OCCT_HEADER_FILE_CONTENT};\n\n") # Save generated content to header file - set (HEADER_FILE "${CMAKE_SOURCE_DIR}/src/${CurrentResource_Directory}/${HEADER_FILE_NAME}") + set (HEADER_FILE "${OCCT_${CurrentResource_Directory}_FILES_LOCATION}/${HEADER_FILE_NAME}") if (EXISTS "${HEADER_FILE}") file (REMOVE "${HEADER_FILE}") endif()