diff options
-rw-r--r-- | sample/simple-egl/CMakeLists.txt | 1 |
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 |