[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2010-06-20, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On Sun, June 20, 2010 5:24 pm, Peter Wang said:
> > You're the one who added it in the first place :)
>
> How about that...
>
> > I don't know what the current code is supposed to achieve anyway.
> > INSTALL_PREFIX is not a CMake option so the only way to set it is
> > by editing CMakeLists.txt.
>
> You can set it on the command line with -D.
Ah, you're right. I was testing it, but Toolchain-mingw.cmake was
overridding what I was typing on the command-line.
> I think maybe it's best
> to remove it and set CMAKE_INSTALL_PREFIX to MINGDIR if available
> and not specified by the user, otherwise just leave it at the default.
That would be fine, but can we tell if CMAKE_INSTALL_PREFIX has been set
by the user?
Peter