Michal Schorm wrote:

>   $ cmake [path] [flags]
> So inyour case
>   $ cmake . [flags]
> I suppose
> 
> This is caused by a CMake update in rawhide.

It looks like this was an accidental regression rather than an intentional 
change, apparently introduced by this merge:
https://gitlab.kitware.com/cmake/cmake/commit/c63a19e9201474750fea6adc11d75a9bb5a21e5b
or in particular, by this commit:
https://gitlab.kitware.com/cmake/cmake/commit/27eb7c5bdb5bb8deefe1772675dc4819592bf036

The documented argument order in CMake has always been:
  cmake [options] <path-to-source>
i.e., exactly the opposite of what you wrote (but CMake has never cared 
either way).

This ought to be fixed, also because the documented argument order is what 
our %cmake and %cmake_kf5 RPM macros naturally produce (because they include 
-D flags, but the directory name has to be specified by the packager after 
the macro).

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to