On 08/31/2018 04:12 AM, Kornel Benko wrote:
> Am Donnerstag, 30. August 2018 21:36:52 CEST schrieb Richard Kimberly Heck 
> <rikih...@lyx.org>:
>> commit 65bc3149abd326e6127190b6d672854432b1ae40
>> Author: Richard Kimberly Heck <rikih...@lyx.org>
>> Date:   Thu Aug 30 15:28:13 2018 -0400
>>
>>     Updates to cmake scripts needed to build with mingw on Fedora.
>>     
>>     These are not really right. Things are hardcoded that probably should
>>     not be. These are marked (hopefully) with "# RKH" comments. Possibly
>>     what's needed is another flag? Anyway, help welcome.
>> +# RKH
>> +if(WIN32 AND MINGW)
>> +    set(Qt5Core_DIR 
>> "/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/Qt5Core/")
> Under debian/ubuntu/mint the path for the package 'mingw-w64-i686-dev' starts 
> with
>       /usr/i686-w64-mingw32/(include/lib)
> and unfortunately no mingw-package contains 'cmake/Qt5Core' in any path.
>
> So I am doomed.

Is it possible to have some flag we can set to choose e.g. Fedora paths
or Ubuntu paths? E.g., -DDistro=Fedora? Or -DFedora=1?

>> +    set(GNUWIN32_DIR "/cvs/lyx/lyx-dependencies/lyx-windows-deps-msvc2010/")
>> +endif()
>> +
> This too, seems unknown. At least 'apt-file' could not find it.

I am not sure if I actually need this one. I will check.

Riki

Reply via email to