summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-demo/CMakeLists.txt
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-23 22:54:55 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-23 22:54:55 +0200
commitf30dc1a18dbb32880bdc0c9021b756c0f846ad53 (patch)
tree5d870731614fc7ca4403c33eb6247bf5d36430ac /CAN-binder/low-can-demo/CMakeLists.txt
parentce53e9102f8fc9d28ed706b977c30a5258e7d0c3 (diff)
Fix a dependency problem with populate htdocs targets.
Update modif date on output dir to make update on populate happens too. Change-Id: Ie1481d4231075a83bebde79ebf41c1f11b73ac21 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-demo/CMakeLists.txt')
-rw-r--r--CAN-binder/low-can-demo/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CAN-binder/low-can-demo/CMakeLists.txt b/CAN-binder/low-can-demo/CMakeLists.txt
index 136053b..a2caac9 100644
--- a/CAN-binder/low-can-demo/CMakeLists.txt
+++ b/CAN-binder/low-can-demo/CMakeLists.txt
@@ -24,6 +24,7 @@ PROJECT_TARGET_ADD(low-can-demo)
add_custom_command(OUTPUT dist.prod
DEPENDS ${TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND touch dist.prod
COMMAND [ -d "dist.prod" ] || npm install
COMMAND [ -d "dist.prod" ] || gulp build-app-prod
COMMAND cp -r dist.prod ${CMAKE_CURRENT_BINARY_DIR})