ed487cb00a
The if around the find logic meant that the module was never shown as found after the first round. Change-Id: I3dd47b37baf7c630c54adbce6872b99f9ff56ad0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
8 lines
141 B
CMake
8 lines
141 B
CMake
include(FindPkgConfig)
|
|
|
|
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
|
|
|
if (NOT TARGET PkgConfig::ATSPI2)
|
|
set(ATSPI2_FOUND 0)
|
|
endif()
|