Skip to content

Fix setting of LIBXMLPATH in both cafsetup.sh and QFramework/Root/definitions.h…

David Richard Shope requested to merge cherry-pick-LibXml2-CMake-fix into master

Release notes

Add string parsing of LIBXML2_LIBRARIES variable in CMake to remove generator expression before using it to create cafsetup.sh and QFramework/Root/definitions.h

Details

Previously, the string parsing was handled only partly in CMake such that the generator expression was still present in cafsetup.sh but treated correctly in the generateLocals.sh script which creates the QFramework/Root/definitions.h file. Now, all of the string parsing of this variable takes place in the CMakeLists.txt files of CAFCore and QFramework. See !102 (merged) for more details on why this string parsing is now necessary.

Merge request reports