diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-05 16:48:19 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:48 +0200 |
commit | ba5f95324ef483477c9f766ddb3bda3c6e525956 (patch) | |
tree | 67677d410f72ee164dc51fddb967c7d70eb97908 /cmake | |
parent | e15ff1630cef8890fb6b8f3ccc18e6f9c962dfd4 (diff) |
Fix: SYSROOT location detection... Wrong test.
Change-Id: I8c783cf3bc966b2bec54cab98de97f1e47d3b54c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/common.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake index 65285a1..e764d34 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -52,7 +52,7 @@ if(EXISTS ${OS_RELEASE_PATH}) else() set(OSRELEASE "NOT COMPATIBLE !") endif() -elseif(${BUILD_ENV_SYSROOT} == $ENV{PKG_CONFIG_SYSROOT_DIR}) +elseif("${BUILD_ENV_SYSROOT}" STREQUAL "$ENV{PKG_CONFIG_SYSROOT_DIR}") set(OSRELEASE "yocto-build") else() set(OSRELEASE "NOT COMPATIBLE ! Missing ${OS_RELEASE_PATH} file.") |