summaryrefslogtreecommitdiff
path: root/cmake/lint.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/lint.cmake')
-rw-r--r--cmake/lint.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/lint.cmake b/cmake/lint.cmake
index 585babb3..70a00657 100644
--- a/cmake/lint.cmake
+++ b/cmake/lint.cmake
@@ -5,7 +5,7 @@ set(SRC_FILE_EXTENSIONS h hpp hu c cpp cu cc)
set(EXCLUDE_FILE_EXTENSTIONS pb.h pb.cc)
set(LINT_DIRS include src/caffe examples tools python matlab)
-cmake_policy(SET CMP0009 NEW) # supress cmake warning
+cmake_policy(SET CMP0009 NEW) # suppress cmake warning
# find all files of interest
foreach(ext ${SRC_FILE_EXTENSIONS})
@@ -26,7 +26,7 @@ list(REMOVE_ITEM LINT_SOURCES ${EXCLUDED_FILES})
execute_process(
COMMAND ${LINT_COMMAND} ${LINT_SOURCES}
- ERROR_VARIABLE LINT_OUTPUT
+ ERROR_VARIABLE LINT_OUTPUT
ERROR_STRIP_TRAILING_WHITESPACE
)