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,
Dav
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 k