summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-04-18 00:57:48 (GMT)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-04-18 00:57:48 (GMT)
commit65a5cfec178410e0984f875293756c7ad5fbdb6e (patch)
tree838d31b23db44caf9658e24409cf971ca483fec7
parent715f762876a951c770f111374d19fa562b2b4969 (diff)
downloadnnfw-65a5cfec178410e0984f875293756c7ad5fbdb6e.zip
nnfw-65a5cfec178410e0984f875293756c7ad5fbdb6e.tar.gz
nnfw-65a5cfec178410e0984f875293756c7ad5fbdb6e.tar.bz2
Fix CMake to use STATUS for message (#5016)
This will fix message() to use STATUS instead if "--" string Signed-off-by: SaeHie Park <saehie.park@samsung.com>
-rw-r--r--cmake/modules/ExternalSourceTools.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake/modules/ExternalSourceTools.cmake b/cmake/modules/ExternalSourceTools.cmake
index 0c1b06d..74ebd3e 100644
--- a/cmake/modules/ExternalSourceTools.cmake
+++ b/cmake/modules/ExternalSourceTools.cmake
@@ -27,7 +27,7 @@ function(ExternalSource_Download PREFIX URL)
file(MAKE_DIRECTORY "${TMP_DIR}")
- message("-- Download ${PREFIX} from ${URL}")
+ message(STATUS "Download ${PREFIX} from ${URL}")
file(DOWNLOAD ${URL} "${DOWNLOAD_PATH}"
STATUS status
LOG log)
@@ -41,15 +41,15 @@ function(ExternalSource_Download PREFIX URL)
status_string: ${status_string}
log: ${log}")
endif()
- message("-- Download ${PREFIX} from ${URL} - done")
+ message(STATUS "Download ${PREFIX} from ${URL} - done")
- message("-- Extract ${PREFIX}")
+ message(STATUS "Extract ${PREFIX}")
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xfz "${DOWNLOAD_PATH}"
WORKING_DIRECTORY "${TMP_DIR}")
file(REMOVE "${DOWNLOAD_PATH}")
- message("-- Extract ${PREFIX} - done")
+ message(STATUS "Extract ${PREFIX} - done")
- message("-- Cleanup ${PREFIX}")
+ message(STATUS "Cleanup ${PREFIX}")
file(GLOB contents "${TMP_DIR}/*")
list(LENGTH contents n)
if(NOT n EQUAL 1 OR NOT IS_DIRECTORY "${contents}")
@@ -61,7 +61,7 @@ function(ExternalSource_Download PREFIX URL)
file(RENAME ${contents} "${OUT_DIR}")
file(REMOVE_RECURSE "${TMP_DIR}")
file(WRITE "${STAMP_PATH}" "${URL}")
- message("-- Cleanup ${PREFIX} - done")
+ message(STATUS "Cleanup ${PREFIX} - done")
endif()
set(${PREFIX}_SOURCE_DIR "${OUT_DIR}" PARENT_SCOPE)