[CI] standardize endif() calls in CMake scripts (#9637)

This commit is contained in:
James Lamb
2023-10-08 11:45:20 +08:00
committed by GitHub
parent 799f8485e2
commit db8d117f7e
13 changed files with 99 additions and 99 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ if (XGBOOST_BUILD_STATIC_LIB)
enable_language(CXX)
# find again for those cxx libraries.
find_package(xgboost REQUIRED)
endif(XGBOOST_BUILD_STATIC_LIB)
endif()
add_executable(api-demo c-api-demo.c)
target_link_libraries(api-demo PRIVATE xgboost::xgboost)