Knitschi / CPFCMake

A component of the CMakeProjectFramework. It provides the CMake code that implements a CI-pipeline.
MIT License
2 stars 2 forks source link

Remove or clean up function cpfRemoveWarningFlagsForSomeExternalFiles() #11

Closed Knitschi closed 5 years ago

Knitschi commented 6 years ago

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?

Knitschi commented 5 years ago

The function was removed without breaking any build.