I saw the change notification but didn't know it went in to "production". I
was trying to build OpenImageIO in rawhide and it failed, because I was
already doing an out of source build which it appended
"%{_arch}-redhat-linux-gnu" or something like that to.

So I looked up the guidelines for CMake which state:

%build
%cmake .
%make_build


Oookay... Now OIIO CMake config is giving me:

CMake Error at CMakeLists.txt:50 (message):
  Not allowed to run in-source build!

And low and behold I see new options being passed to CMake...

+ /usr/bin/cmake -S . -B .

Which point the source and binary locations to the same directory.

So I was all for the change other than the fact I was already doing
out-of-source builds for all of the CMake packages I maintain, which this
breaks, and right now the "automagic" seems to be broken as well.

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
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