Exclude parse_ifcxml.cpp content from build when WITH_IFCXML is not define

This commit is contained in:
stephassoria
2018-12-12 15:33:24 +01:00
committed by Thomas Krijnen
parent f307f39023
commit 9a9475adcb
+4
View File
@@ -1,5 +1,7 @@
#define BOOST_RESULT_OF_USE_DECLTYPE
#ifdef WITH_IFCXML
#include "IfcFile.h"
#include <libxml/parser.h>
@@ -623,3 +625,5 @@ IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filen
return state.file;
}
#endif
#endif // WITH_IFCXML