CMake/Tests/RunCMake/Syntax/BracketCRLF.cmake

9 lines
143 B
CMake

if([[
]] STREQUAL "" AND
[[a
b]] STREQUAL "a\nb")
message("CRLF->LF worked")
else()
message(FATAL_ERROR "CRLF->LF failed")
endif()