Re: CMake help: "install TARGETS given no LIBRARY DESTINATION for shared library target"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux