aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/04-extra_targets.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cmake.d/04-extra_targets.cmake')
-rw-r--r--cmake/cmake.d/04-extra_targets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/04-extra_targets.cmake b/cmake/cmake.d/04-extra_targets.cmake
index 4e7921a..d66c87f 100644
--- a/cmake/cmake.d/04-extra_targets.cmake
+++ b/cmake/cmake.d/04-extra_targets.cmake
@@ -75,7 +75,7 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})
# Only doable within a native environment not under SDK
if( OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
execute_process(
- COMMAND pkg-config --print-provides ${XPREFIX}
+ COMMAND dpkg -S *${XPREFIX}.pc
OUTPUT_VARIABLE TMP_PKG_BIN
)
if(TMP_PKG_BIN)