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>
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}")