﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
444	cmake shouldn't define UNIx variable	pulkomandy		"It is well known that Haiku isn't unix.

http://www.vtk.org/Wiki/CMake_Useful_Variables#System_.26_Compiler_Information
This page tells that UNIX variable is set on 'Unix-like' systems. It is, for example, set on Mac OS X and cygwin, but not MSYS, which is as unixish as Haiku, with a bash shell and most of the GNU tools.

When UNIX is set, apps built using cmake are expecting an X11 server, and FHS file hierarchy (http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard), both of them are not available in Haiku.

So, cmake shouldn't set the UNIX variable, and apps should rely on the HAIKU variable to get their configuration. This way, installing files in the right path at compile time (/boot/common/ instead of /usr/local) would become much easier."	defect	closed	normal		dev-util/cmake		normal	wontfix		pulkomandy@…
