[CMake] set CMAKE_INSTALL_PREFIX in CMakeLists
Marcel Loose
loose at astron.nl
Thu Dec 2 04:23:01 EST 2010
>>> On 30-11-2010 at 21:36, in message
<759EE5DC-038D-4C17-91DA-98121049AB09 at mac.com>, S Roderick
<kiwi.net at mac.com>
wrote:
> On Nov 30, 2010, at 13:40 , David Cole wrote:
>
>> It probably works "accidentally" if you do the set before the
project
> command.
>
> That is what we do, and it definitely works for us. Set it _before_
the
> PROJECT() statement.
+1 for me. I have a LofarInit.cmake file that is included before
PROJECT(LOFAR). I wouldn't want this "feature" to break.
Regards,
Marcel Loose.
More information about the CMake
mailing list