[CI] address cmakelint warnings about whitespace (#9674)

This commit is contained in:
James Lamb
2023-10-13 23:46:07 -05:00
committed by GitHub
parent 53049b16b8
commit eb562d3829
15 changed files with 133 additions and 128 deletions

View File

@@ -4,7 +4,7 @@ find_package(xgboost REQUIRED)
# xgboost is built as static libraries, all cxx dependencies need to be linked into the
# executable.
if (XGBOOST_BUILD_STATIC_LIB)
if(XGBOOST_BUILD_STATIC_LIB)
enable_language(CXX)
# find again for those cxx libraries.
find_package(xgboost REQUIRED)