summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/03-extra_targets.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cmake.d/03-extra_targets.cmake')
-rw-r--r--cmake/cmake.d/03-extra_targets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-extra_targets.cmake b/cmake/cmake.d/03-extra_targets.cmake
index 56f9b78..35fb2e3 100644
--- a/cmake/cmake.d/03-extra_targets.cmake
+++ b/cmake/cmake.d/03-extra_targets.cmake
@@ -85,7 +85,7 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})
# package providing the pkg-cong file ${XPREFIX}.pc, we need
# to test the OS release package type
# Only doable within a native environment not under SDK
- if( OSRELEASE MATCHES "debian" AND NOT DEFINED $ENV{SDKTARGETSYSROOT})
+ if( OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT})
execute_process(
COMMAND dpkg -S *${XPREFIX}.pc
OUTPUT_VARIABLE TMP_PKG_BIN