[CMake] fixing cmake bootstrap NOTFOUNDs

David Cole david.cole at kitware.com
Fri Jan 14 12:22:26 EST 2011


You could use the --init flag to specify an initial cache file. For example,

# javaCache.cmake

SET(JNI_H FALSE CACHE BOOL "" FORCE)
SET(Java_JAVA_EXECUTABLE FALSE CACHE BOOL "" FORCE)
SET(Java_JAVAC_EXECUTABLE FALSE CACHE BOOL "" FORCE)

./bootstrap --init=/full/path/to/javaCache.cmake


HTH,
David


On Fri, Jan 14, 2011 at 11:50 AM, Brian Lewis <brian at monetra.com> wrote:
> When the cmake bootstrap sets some variables to NOTFOUND, what is the
> correct way to fix them? To edit CMakeCache.txt?
> _______________________________________________
> 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
>


More information about the CMake mailing list