<font size=2 face="sans-serif">I didn't mean to imply that CMake itself
was a pain to build or use on linux. I work in a pretty controlled environment
that needs to be reproducible. I use debootstrap to create this environment,
thus, everything is a nice little deb package. The destro is hardy, which
is a little old, and so the latest backport was version 2.6.2. To get a
new version of CMake I'd have to do the backport myself, which isn't too
hard. I'd have to create the deb package and stuff it in my repo. All steps
I was hoping to avoid.</font>
<br>
<br><font size=2 face="sans-serif">It might be worth using 2.8, so I could
go through the effort.</font>
<br>
<br><font size=2 face="sans-serif">Thanks for providing a work-around.</font>
<br><font size=2 face="sans-serif">---------------------------------------------------------<br>
Aaron Wright</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Alexander Neundorf <a.neundorf-work@gmx.net></b>
</font>
<br><font size=1 face="sans-serif">Sent by: cmake-bounces@cmake.org</font>
<p><font size=1 face="sans-serif">01/04/2010 10:45 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
a.neundorf-work@gmx.net</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">cmake@cmake.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Aaron_Wright@selinc.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [CMake] Unknown CMake command "UNSET".</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Monday 04 January 2010, Aaron_Wright@selinc.com
wrote:<br>
> I'm not trying to do anything too fancy, just trying to call:<br>
><br>
> UNSET(<variable> CACHE)<br>
><br>
> It works with MSVC, but in linux I get:<br>
><br>
> Unknown CMake command "UNSET".<br>
><br>
> Am I missing something? Linux is version 2.6.2, and MSVC is 2.6.4.
I'm<br>
<br>
</font></tt><a href=http://www.cmake.org/Wiki/CMake_Released_Versions><tt><font size=2>http://www.cmake.org/Wiki/CMake_Released_Versions</font></tt></a><tt><font size=2><br>
<br>
unset() exists since 2.6.3:<br>
</font></tt><a href=http://www.cmake.org/Wiki/CMake_2.6.3_Docs><tt><font size=2>http://www.cmake.org/Wiki/CMake_2.6.3_Docs</font></tt></a><tt><font size=2><br>
</font></tt><a href=http://www.cmake.org/Wiki/CMake_2.6.2_Docs><tt><font size=2>http://www.cmake.org/Wiki/CMake_2.6.2_Docs</font></tt></a><tt><font size=2><br>
<br>
In many cases a <br>
set(FOO NOTFOUND CACHE STRING "docs..." FORCE)<br>
(or FALSE or "" instead of NOTFOUND) is also good enough.<br>
<br>
> asking first because I don't want to update the linux version, as
that is<br>
> difficult.<br>
<br>
You can just download the binary packages for Linux available here:<br>
</font></tt><a href=http://www.cmake.org/cmake/resources/software.html><tt><font size=2>http://www.cmake.org/cmake/resources/software.html</font></tt></a><tt><font size=2><br>
(</font></tt><a href="http://www.cmake.org/files/v2.8/cmake-2.8.0-Linux-i386.tar.gz"><tt><font size=2>http://www.cmake.org/files/v2.8/cmake-2.8.0-Linux-i386.tar.gz</font></tt></a><tt><font size=2>),
and unpack it <br>
somewhere on your machine (e.g. in /opt/) and then call this cmake executable
<br>
directly.<br>
<br>
Alex<br>
_______________________________________________<br>
Powered by </font></tt><a href=www.kitware.com><tt><font size=2>www.kitware.com</font></tt></a><tt><font size=2><br>
<br>
Visit other Kitware open-source projects at </font></tt><a href=http://www.kitware.com/opensource/opensource.html><tt><font size=2>http://www.kitware.com/opensource/opensource.html</font></tt></a><tt><font size=2><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: </font></tt><a href=http://www.cmake.org/Wiki/CMake_FAQ><tt><font size=2>http://www.cmake.org/Wiki/CMake_FAQ</font></tt></a><tt><font size=2><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</font></tt><a href=http://www.cmake.org/mailman/listinfo/cmake><tt><font size=2>http://www.cmake.org/mailman/listinfo/cmake</font></tt></a><tt><font size=2><br>
</font></tt>
<br>