[compiler] Remove newline character in CMakeLists.txt (#9367)
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>
Wed, 4 Dec 2019 04:13:06 +0000 (13:13 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 4 Dec 2019 04:13:06 +0000 (13:13 +0900)
This commit will substitute `\n` character to ` `,
since the blank works not only for linux but also for windows.

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
compiler/CMakeLists.txt

index 5ca9ff9..7cf12f1 100644 (file)
@@ -14,10 +14,10 @@ function(get_project_build_order VAR)
     set(REQUIRES_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_DIR}/requires.cmake")
 
     macro(require PRED)
-      file(APPEND "${DEPS_FILE}" "${PRED} ${SUCC}\n")
+      file(APPEND "${DEPS_FILE}" "${PRED} ${SUCC} ")
     endmacro(require)
 
-    file(APPEND "${DEPS_FILE}" "${SUCC} ${SUCC}\n")
+    file(APPEND "${DEPS_FILE}" "${SUCC} ${SUCC} ")
     if(EXISTS "${REQUIRES_FILE}")
       include(${REQUIRES_FILE})
     endif(EXISTS "${REQUIRES_FILE}")