[CMake] Strange behaviour of STREQUAL with a variable containing only "type"

Sylvain Doremus dragonjoker59 at hotmail.com
Fri Apr 17 07:09:46 EDT 2015


I have a strange output, related to the minimal CMakeLists.txt that I've provided with this email.
My CMake version is 3.2.1, on Windows Seven SP1, the tested generators are Visual Studio 10 2010 and Visual Studio 10 2010 Win64.

Here is the output I've got:

TestFolder/type

TestFolder
TestFolder/type
Configuring done

Is it normal? Or is it a bug?If it is normal, can someone explain me why it is?
 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150417/264c0ebc/attachment-0001.txt>


More information about the CMake mailing list