mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
cmake: that duplicate condition was used as NOT
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2a2ca4370e
commit
8e58c9a6dd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ FOREACH(file ${files})
|
|||
OUTPUT_VARIABLE rm_out
|
||||
RESULT_VARIABLE rm_retval
|
||||
)
|
||||
IF("${rm_retval}" STREQUAL 0)
|
||||
IF(NOT "${rm_retval}" STREQUAL 0)
|
||||
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\": ${rm_out}")
|
||||
ENDIF("${rm_retval}" STREQUAL 0)
|
||||
ELSE(EXISTS "${file}")
|
||||
|
|
Loading…
Add table
Reference in a new issue