mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
ifcparse cmake - make compile definition more explicit #7406
This commit is contained in:
@@ -36,7 +36,7 @@ set_target_properties(IfcParse PROPERTIES COMPILE_FLAGS -DIFC_PARSE_EXPORTS VERS
|
|||||||
|
|
||||||
if(IFCXML_SUPPORT)
|
if(IFCXML_SUPPORT)
|
||||||
find_package(LibXml2 REQUIRED)
|
find_package(LibXml2 REQUIRED)
|
||||||
add_definitions(-DWITH_IFCXML)
|
target_compile_definitions(IfcParse PUBLIC WITH_IFCXML)
|
||||||
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_IFCXML)
|
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_IFCXML)
|
||||||
|
|
||||||
if(LibXml2_DIR)
|
if(LibXml2_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user