Getting ecm files from the ECM package

Stephen Kelly steveire at gmail.com
Sun Nov 3 13:21:30 UTC 2013


Alexander Neundorf wrote:

> e.g. keeping code like always, unconditional, hardcoded searching for
> QtCore

'hardcoded' doesn't have any meaning in this context. 

The code you are talking about is neither 'always', nor 'unconditional'.

 if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.13)
   find_package(Qt5Core 5.2.0 REQUIRED)
   ...
 else()
   message(FATAL_ERROR \"Remove this hack.\")
 endif()


It's another reason not to release ECM yet.

Thanks,

Steve.




More information about the Kde-frameworks-devel mailing list