CMake: FindATSPI2: Ignore repeated attempts to find ATSPI2
Change-Id: I4d6f59d144910d2f194f73e3b9bc8a5cc6726bcd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
511124bf1d
commit
f233249207
@ -1,3 +1,5 @@
|
|||||||
include(FindPkgConfig)
|
include(FindPkgConfig)
|
||||||
|
|
||||||
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
if(NOT TARGET PkgConfig::ATSPI2)
|
||||||
|
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user