summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kutsan <AKutsan@luxoft.com>2014-08-01 12:46:26 +0300
committerAlexander Kutsan <AKutsan@luxoft.com>2014-08-01 12:46:26 +0300
commit53a9e5d69772d765cc74da3029325a6ea594eb00 (patch)
tree58d220760b5a8c9744bbf3c6da83e7da61bccfa9
parent8830128a74d367855285d627611a7307a6b30452 (diff)
downloadsmartdevicelink-SNAPSHOT_PASA01082014.tar.gz
APPLINK-8292 Configuration: HMI should be started from build folder, not from git repositorySNAPSHOT_PASA01082014
-rw-r--r--src/appMain/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/appMain/CMakeLists.txt b/src/appMain/CMakeLists.txt
index 69f1b18f2..a23646c7a 100644
--- a/src/appMain/CMakeLists.txt
+++ b/src/appMain/CMakeLists.txt
@@ -192,8 +192,9 @@ if (${QT_HMI})
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/start_hmi.sh
"#!/bin/sh\n${start_command} ${command_arguments}\n")
elseif (${WEB_HMI})
+ file(COPY ${CMAKE_HOME_DIRECTORY}/src/components/HMI DESTINATION ${CMAKE_BINARY_DIR}/src/components/HMI)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/hmi_link
- "${CMAKE_HOME_DIRECTORY}/src/components/HMI/index.html")
+ "${CMAKE_BINARY_DIR}/src/components/HMI/index.html")
endif ()
# Install rules