Skip to content

Instantly share code, notes, and snippets.

@dougalcorn
Created November 4, 2010 17:55
Show Gist options
  • Save dougalcorn/662859 to your computer and use it in GitHub Desktop.
Save dougalcorn/662859 to your computer and use it in GitHub Desktop.
1. Setup javaCache.cmake below
2. ./bootstrap --prefix=/usr/local --system-libs --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man --init=javaCache.cmake
3. make && make install
SET(JNI_H FALSE CACHE BOOL "" FORCE)
SET(Java_JAVA_EXECUTABLE FALSE CACHE BOOL "" FORCE)
SET(Java_JAVAC_EXECUTABLE FALSE CACHE BOOL "" FORCE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment