summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-07-30 12:17:52 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-07-30 12:17:52 +0900
commitba66f5506b4abdaf61ff5caa51dadc3d397fe5a0 (patch)
treef6bf54605c6d5c1504b74bf7a35d2c19dd72a0fb
parent32f4569cb1f2e7770c935dc375c08747a414c8eb (diff)
Fix make widget bug for sample sourcesandbox/ruke47/flounder_RPi3
There is a install error for sample code, because of missing with mkdir root/bin. Change-Id: Ia168a6b59213c7a83f36486bbe0b3f3ffc928ec9 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
-rw-r--r--sample/simple-egl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sample/simple-egl/CMakeLists.txt b/sample/simple-egl/CMakeLists.txt
index 3f4a6e9..57bdfbd 100644
--- a/sample/simple-egl/CMakeLists.txt
+++ b/sample/simple-egl/CMakeLists.txt
@@ -53,6 +53,7 @@ TARGET_LINK_LIBRARIES(simple-egl ${LIBRARIES})
add_custom_command(TARGET simple-egl POST_BUILD
COMMAND cp -rf ${CMAKE_CURRENT_SOURCE_DIR}/package ${PROJECT_BINARY_DIR}
+ COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/root/bin
COMMAND cp -rf ${PROJECT_BINARY_DIR}/simple-egl ${PROJECT_BINARY_DIR}/package/root/bin)
add_custom_target(widget DEPENDS ${PROJECT_BINARY_DIR}/package/root