mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
cmake - fix missing xml.lib in debug builds #7413
After 5d56025 we were using `LibXml2::LibXml2` instead of `LIBXML2_LIBRARIES` for linking, but this target was missing debug variants leading to issues during linking.
This commit is contained in:
@@ -39,10 +39,6 @@ if(IFCXML_SUPPORT)
|
||||
target_compile_definitions(IfcParse PUBLIC WITH_IFCXML)
|
||||
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_IFCXML PARENT_SCOPE)
|
||||
|
||||
if(LibXml2_DIR)
|
||||
target_compile_definitions(IfcParse PRIVATE ${LIBXML2_DEFINITIONS})
|
||||
endif()
|
||||
|
||||
target_link_libraries(IfcParse LibXml2::LibXml2)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user