cmake export - propagate HAS_SCHEMA definitions to exported IfcParse target

This commit is contained in:
Andrej730
2025-12-12 18:25:59 +05:00
parent d303acd660
commit d5210e0d75
3 changed files with 4 additions and 5 deletions
+1
View File
@@ -31,6 +31,7 @@ endforeach()
set(IFCPARSE_FILES ${IFCPARSE_CPP_FILES} ${IFCPARSE_H_FILES})
add_library(IfcParse ${IFCPARSE_FILES})
target_compile_definitions(IfcParse PUBLIC ${SCHEMA_DEFINITIONS})
target_include_directories(IfcParse PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
set_target_properties(IfcParse
PROPERTIES