]> git.lyx.org Git - features.git/commit
Cmake build: Omit use -f '-Wno-deprecated-copy' on compilers which do not support...
authorKornel Benko <kornel@lyx.org>
Mon, 5 Apr 2021 09:14:13 +0000 (11:14 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 5 Apr 2021 09:14:13 +0000 (11:14 +0200)
commitfa704d50f70e2ead66f34594023aebb50714926c
treecd3d1020660ab2a3a312395b4853adc44a06a724
parenteb2e8e157934957f2fe377a37377f97c18154224
Cmake build: Omit use -f '-Wno-deprecated-copy' on compilers which do not support this flag.

Patch from P. De Visschere

Citing Patrick: As is stands the patch unsets the test-variable
from the cache and the test is performed for each cmake-run.
Otherwise after running cmake once the check is never run again, until
one throws away the cmakecache.txt, which I try to avoid.
I suppose that after time this check will be forgotten and if the issue
is solved (by an upgrade of the Apple clang compiler) this will pass
unnoticed.
CMakeLists.txt