Tests: Replace accidental empty elseif() with else()

Issue: #26442
This commit is contained in:
Brad King 2024-11-13 15:30:11 -05:00
parent 1e0cd39460
commit 858ccfc941
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ if (WIN32)
if (NOT path STREQUAL "")
list (APPEND errors "'${path}' instead of ''")
endif()
elseif()
else()
set (path "/a/d")
cmake_path(RELATIVE_PATH path BASE_DIRECTORY "e/d/c")
if (NOT path STREQUAL "")

View File

@ -34,6 +34,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
check_components("bin1;fw1;fw2;lib1;lib2")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
check_components("bin1;bin2;lib1")
elseif()
else()
check_components("bin1;lib1;lib2")
endif()