Fixed CMake error formatting
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6493 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 2acac4e2858560b76ce320c305ac69550fd18f32 Former-commit-id: f23159fa93f94cd85cecbd066230a0d39720201f
This commit is contained in:
parent
5b94a7586a
commit
a969100a00
2 changed files with 5 additions and 5 deletions
|
@ -406,7 +406,7 @@ MACRO(SD_INSTALL_DIRECTORIES)
|
|||
SET(POSTFIX "")
|
||||
ENDIF()
|
||||
ELSE()
|
||||
MESSAGE(ERROR "SD_INSTALL_DIRECTORIES: Expected mandatory DATA and DIRECTORIES keywords")
|
||||
MESSAGE(ERROR ": SD_INSTALL_DIRECTORIES: Expected mandatory DATA and DIRECTORIES keywords")
|
||||
ENDIF()
|
||||
|
||||
# Compute destination sub-dir
|
||||
|
|
|
@ -132,7 +132,7 @@ MACRO(SPLIT_ARGN)
|
|||
|
||||
#Check if it is what we expect
|
||||
IF(NOT SA_EXPECT_KEYWORD)
|
||||
MESSAGE(ERROR "Unexpected keyword in SPLIT_ARGN, got \"${SA_ITEM}\".")
|
||||
MESSAGE(ERROR ": Unexpected keyword in SPLIT_ARGN, got \"${SA_ITEM}\".")
|
||||
ELSE(NOT SA_EXPECT_KEYWORD)
|
||||
#Save information about the keyword
|
||||
SPLIT_ARGN_GET_KEYWORD(${SA_ITEM} SA_KEYWORD_FOUND SA_CUR_KEYWORD SA_CUR_MINCOUNT SA_CUR_MAXCOUNT SA_CUR_ISVARNAME SA_CUR_VARNAME ${ARGN})
|
||||
|
@ -141,7 +141,7 @@ MACRO(SPLIT_ARGN)
|
|||
SET(${SA_CUR_VARNAME})
|
||||
SET(${SA_CUR_ISVARNAME} FALSE)
|
||||
ELSE(SA_KEYWORD_FOUND)
|
||||
MESSAGE(ERROR "Got keyword, but didn't found information about \"${SA_ITEM}\"")
|
||||
MESSAGE(ERROR ": Got keyword, but didn't found information about \"${SA_ITEM}\"")
|
||||
ENDIF(SA_KEYWORD_FOUND)
|
||||
ENDIF(NOT SA_EXPECT_KEYWORD)
|
||||
|
||||
|
@ -149,7 +149,7 @@ MACRO(SPLIT_ARGN)
|
|||
|
||||
#Check if it is what we expect
|
||||
IF(NOT SA_EXPECT_VALUE)
|
||||
MESSAGE(ERROR "Unexpected value in SPLIT_ARGN, got \"${SA_ITEM}\".")
|
||||
MESSAGE(ERROR ": Unexpected value in SPLIT_ARGN, got \"${SA_ITEM}\".")
|
||||
ELSE(NOT SA_EXPECT_VALUE)
|
||||
#Save this item to the list
|
||||
SET(${SA_CUR_VARNAME} ${${SA_CUR_VARNAME}} ${SA_ITEM})
|
||||
|
@ -179,7 +179,7 @@ MACRO(SPLIT_ARGN)
|
|||
|
||||
IF(SA_START AND NOT SA_EXPECT_KEYWORD)
|
||||
#Didn't get all the expected values of the last keyword
|
||||
MESSAGE(ERROR "Missing values at the end in SPLIT_ARGN.")
|
||||
MESSAGE(ERROR ": Missing values at the end in SPLIT_ARGN.")
|
||||
ENDIF(SA_START AND NOT SA_EXPECT_KEYWORD)
|
||||
|
||||
ENDMACRO(SPLIT_ARGN)
|
||||
|
|
Loading…
Reference in a new issue