From: zheng_wenlong Date: Mon, 30 Jul 2018 03:17:52 +0000 (+0900) Subject: Fix make widget bug for sample source X-Git-Tag: 5.99.3~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Flibhomescreen.git;a=commitdiff_plain;h=ba66f5506b4abdaf61ff5caa51dadc3d397fe5a0 Fix make widget bug for sample source There is a install error for sample code, because of missing with mkdir root/bin. Change-Id: Ia168a6b59213c7a83f36486bbe0b3f3ffc928ec9 Signed-off-by: zheng_wenlong --- 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