Avoid potential FTBFS in tde_setup_gcc_visibility #24
Merged
SlavekB
merged 1 commits from feat/setup-gcc-visibility-kdemacros
into master
5 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/setup-gcc-visibility-kdemacros'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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
.