Change-Id: I8c783cf3bc966b2bec54cab98de97f1e47d3b54c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
else()
set(OSRELEASE "NOT COMPATIBLE !")
endif()
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.")
set(OSRELEASE "yocto-build")
else()
set(OSRELEASE "NOT COMPATIBLE ! Missing ${OS_RELEASE_PATH} file.")