D6772: Fix usage of query_qmake: differ between calls expecting qmake or not

Aleix Pol Gonzalez noreply at phabricator.kde.org
Wed Jul 19 13:13:21 UTC 2017


apol added a comment.


  What's the background for the change?

INLINE COMMENTS

> ECMQueryQmake.cmake:19
>      if(NOT QMAKE_EXECUTABLE)
> -        set(${result_variable} "" PARENT_SCOPE)
> -        message(WARNING "Should specify a qmake Qt5 binary. Can't check ${qt_variable}")
> -        return()
> +        if(${ARGC} GREATER 2 AND ${ARGV2} STREQUAL "TRY")
> +            set(${result_variable} "" PARENT_SCOPE)

Use `cmake_parse_arguments`

REPOSITORY
  R240 Extra CMake Modules

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

To: kossebau, #frameworks, ltoscano, rdieter, apol
Cc: #build_system
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20170719/099b1634/attachment.html>


More information about the Kde-buildsystem mailing list