We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5d87b commit 67421c5Copy full SHA for 67421c5
src/ifcparse/CMakeLists.txt
@@ -36,7 +36,7 @@ set_target_properties(IfcParse PROPERTIES COMPILE_FLAGS -DIFC_PARSE_EXPORTS VERS
36
37
if(IFCXML_SUPPORT)
38
find_package(LibXml2 REQUIRED)
39
- add_definitions(-DWITH_IFCXML)
+ target_compile_definitions(IfcParse PUBLIC WITH_IFCXML)
40
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_IFCXML)
41
42
if(LibXml2_DIR)
0 commit comments