Code Review
/
apps
/
app-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: interpreted '&' character
[apps/app-templates.git]
/
cmake
/
common.cmake
diff --git
a/cmake/common.cmake
b/cmake/common.cmake
index
65285a1
..
8e57b26
100644
(file)
--- a/
cmake/common.cmake
+++ b/
cmake/common.cmake
@@
-52,7
+52,7
@@
if(EXISTS ${OS_RELEASE_PATH})
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.")
@@
-85,6
+85,7
@@
foreach(file ${system_cmakefiles} ${home_cmakefiles} ${project_cmakefiles})
include(${file})
endforeach()
include(${file})
endforeach()
+set_install_prefix()
prevent_in_source_build()
if(DEFINED PROJECT_SRC_DIR_PATTERN)
prevent_in_source_build()
if(DEFINED PROJECT_SRC_DIR_PATTERN)