Avoid potential FTBFS in tde_setup_gcc_visibility #24
Sammanfogat
SlavekB
sammanfogade 1 incheckningar från feat/setup-gcc-visibility-kdemacros
in i master
5 år sedan
Laddar…
Referens i nytt ärende
Det finns inget innehåll än.
Ta bort branch 'feat/setup-gcc-visibility-kdemacros'
Borttagning utav en branch är permanent. Detta KAN INTE ångras. Vill du fortsätta?
If a user builds in an environment that is not clean, while building dependencies that do not need tdelibs, the previously installed tdelibs can be searched for and gcc visibility tested. In that case, kdemacros.h that is not on CMAKE_INCLUDE_DIRS, can lead to a test failure. Therefore, the full path to the detected kdemacros.h is now used.
If a user builds in an environment that is not clean, and the module that is currently being built does not use TDE and / or TQt but these are found on the disk, they are tested on GCC visibility, which is unwanted and misleading. Therefore, tests are now conditioned by whether the module has already detected TDE and / or TQt.
LGTM
f8254e1561
.