CMake/Tests/RunCMake/Syntax/StringCRLF.cmake

7 lines
117 B
CMake

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