>   SET(CMAKE_INSTALL_PREFIX "/foo/bar" CACHE PATH "Foo install prefix")
> 
> So, without the test to CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT,
> and without the FORCE option.
> 
> Reason: if someone unsets CMAKE_INSTALL_PREFIX on the command-line with
> -U, CMAKE_INSTALL_PREFIX will default to /foo/bar (which is the
> project's default), instead of /usr/local (which is CMake's default).
No, as I mentioned, there was an article of one the CMake-maintainers
who recommended this.

Since www.cmake.org is currently blocked for me, I cannot search. If I
find the article, I let you know.

Greetings

Micha


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to