On Tue, Jul 21, 2020 at 9:51 AM Kamil Dudka kdudka@redhat.com wrote:
On Tuesday, July 21, 2020 3:41:02 PM CEST Neal Gompa wrote:
On Tue, Jul 21, 2020 at 9:04 AM Kamil Dudka kdudka@redhat.com wrote:
On Tuesday, July 21, 2020 12:39:55 PM CEST Neal Gompa wrote:
That's odd, it shouldn't work,
I believe it does.
since -B wasn't introduced until CMake 3.13...
You only need working -B option to override a previously specified -B option. Otherwise CMake defaults to the current working directory as build directory. So appending -B. is a no-op on EPEL-7 and EPEL-8, which were not affected by this change.
So my understanding is that the option shouldn't work at all on CMake 3.11 in EPEL 8, as it does not exist in the man page: https://cmake.org/cmake/help/v3.11/manual/cmake.1.html
What exactly do you mean by "work"? If the option does not take any effect, that is perfectly fine because the Fedora change did not reach EPEL-8 (yet).
Or are you saying that using cmake -B. breaks EPEL-8 builds? Do you have any example?
I'm saying that doing that is supposed to break CMake on RHEL 8 because the option isn't supported. That's *why* I haven't yet backported the macros to EPEL 8. I am trying to work around missing features in CMake.