The function reduces the warning level for a hard-coded source-file which is added by linking to the staticly compiled qt hunter package via the INTERFACE_SOURCES property. The code suggests that this is only a problem on Linux.
The function should at least remove the hard-coded filename and lower the warning-level on all imported INTERFACE_SOURCES. What is the correct solution?
The function reduces the warning level for a hard-coded source-file which is added by linking to the staticly compiled qt hunter package via the
INTERFACE_SOURCES
property. The code suggests that this is only a problem on Linux.The function should at least remove the hard-coded filename and lower the warning-level on all imported
INTERFACE_SOURCES
. What is the correct solution?