[LyX/2.3.x] Cmake build: Remove cmake warnings about mismatched values of FindPackageHandleStandardArgs()

Stephan Witt st.witt at gmx.net
Sat Feb 15 08:02:45 UTC 2020


Am 15.02.2020 um 08:32 schrieb Kornel Benko <kornel at lyx.org>:
> 
> Am Fri, 14 Feb 2020 17:37:28 +0100
> schrieb Stephan Witt <st.witt at gmx.net>:
> 
>> Changes not staged for commit:
>>  (use "git add <file>..." to update what will be committed)
>>  (use "git checkout -- <file>..." to discard changes in working directory)
>> 
>>    modified:   development/cmake/modules/FindHUNSPELL.cmake
>> 
>> no changes added to commit (use "git add" and/or "git commit -a“)
>> ==================
>> 
>> No luck. I’d guess on Windows with case insensitive FS it’s the same.
>> 
> 
> Should it be not enough to say here:
>    git checkout development/cmake/modules/FindHUNSPELL.cmake
>    git checkout development/cmake/modules/FindENCHANT.cmake
> ?

No. I‘ve tried this already.

IMO you can’t have two files with different cases in name only. Didn’t you add a second one instead of rename it? Actually there’s a problem because it’s duplicated and changed.

I can rename it on my end. But I don’t know what happens on your side when I push the change. 

I‘ll try to post the diffs later.

Another option is: you remove the misnamed duplicates from git if they’re present on your side. 

Stephan



More information about the lyx-devel mailing list