Skip to content

Commit dc1ebc5

Browse files
committed
Fix minor issues find by cmakelint.
1 parent 84a9c65 commit dc1ebc5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ set(CPACK_PACKAGE_CHECKSUM "SHA512")
185185
file(WRITE "${CMAKE_BINARY_DIR}/contributors.h" "") # create a empty file
186186
file(STRINGS AUTHORS AUTHORSLINES ENCODING UTF-8)
187187
foreach(l ${AUTHORSLINES})
188-
if ("${l}" STREQUAL "Developers:")
188+
if("${l}" STREQUAL "Developers:")
189189
set(AUTHORTYPE "AddDeveloper")
190-
elseif ("${l}" STREQUAL "Translators:")
190+
elseif("${l}" STREQUAL "Translators:")
191191
set(AUTHORTYPE "AddTranslator")
192-
elseif ("${l}" STREQUAL "Artwork:")
192+
elseif("${l}" STREQUAL "Artwork:")
193193
set(AUTHORTYPE "AddArtist")
194-
elseif ("${l}" STREQUAL "The Manual:")
194+
elseif("${l}" STREQUAL "The Manual:")
195195
set(AUTHORTYPE "AddDocWriter")
196196
else()
197197
string(REPLACE " - " "" l2 "${l}")

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ set(CPACK_DEBIAN_PACKAGE_SECTION "math")
331331

332332
set(CPACK_RPM_PACKAGE_LICENSE "GPLv2+")
333333
set(CPACK_RPM_PACKAGE_GROUP "Productivity/Scientific/Math")
334-
SET(CPACK_RPM_PACKAGE_URL "https://wxmaxima-developers.github.io/wxmaxima/")
335-
SET(CPACK_RPM_PACKAGE_SUMMARY "wxMaxima is a document based interface for the computer algebra system Maxima")
334+
set(CPACK_RPM_PACKAGE_URL "https://wxmaxima-developers.github.io/wxmaxima/")
335+
set(CPACK_RPM_PACKAGE_SUMMARY "wxMaxima is a document based interface for the computer algebra system Maxima")
336336
if(WIN32)
337337
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/data\\\\wxmaxima.bmp")
338338
else()

0 commit comments

Comments
 (0)