mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Configuration - Resource generation source path fix #453
Fix header file path generation in OCCT resource macro. Regression after reorganizing repository.
This commit is contained in:
parent
5647b46a34
commit
9cd174509c
@ -39,7 +39,7 @@ macro (OCCT_GENERATE_CONTENT_ONLY CurrentResource)
|
|||||||
endforeach()
|
endforeach()
|
||||||
set (OCCT_HEADER_FILE_CONTENT "${OCCT_HEADER_FILE_CONTENT};\n\n")
|
set (OCCT_HEADER_FILE_CONTENT "${OCCT_HEADER_FILE_CONTENT};\n\n")
|
||||||
# Save generated content to header file
|
# 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}")
|
if (EXISTS "${HEADER_FILE}")
|
||||||
file (REMOVE "${HEADER_FILE}")
|
file (REMOVE "${HEADER_FILE}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user