D16894: [ECM] use a macro to add compiler flags conditionally

Christophe Giboudeaux noreply at phabricator.kde.org
Thu Jan 31 15:18:40 GMT 2019


cgiboudeaux added inline comments.

INLINE COMMENTS

> ECMAddCompilerFlag.cmake:108
> +            check_cxx_compiler_flag(${flag} ${HASFLAG})
> +            if({${HASFLAG}})
> +                set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)

Forget that. The syntax is confusing, please remove this HASFLAG

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D16894

To: rjvbb, #build_system, kfunk
Cc: cgiboudeaux, dfaure, kfunk, apol, kde-frameworks-devel, kde-buildsystem, #build_system, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20190131/89c123c2/attachment.html>


More information about the Kde-buildsystem mailing list