mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
fd7e305097
Fixes: #27188
15 lines
361 B
CMake
15 lines
361 B
CMake
|
|
cmake_minimum_required(VERSION 4.2...4.3)
|
|
|
|
include ("${RunCMake_SOURCE_DIR}/check_errors.cmake")
|
|
unset (errors)
|
|
|
|
string(STRIP " ABCD " reference)
|
|
set(output "$<STRING:STRIP,SPACES, ABCD >")
|
|
if (NOT output STREQUAL reference)
|
|
list (APPEND errors "<STRING:STRIP,SPACES, ABCD > returns bad data: ${output}")
|
|
endif()
|
|
|
|
|
|
check_errors("STRING:STRIP" ${errors})
|