[CMake] FindJava.cmake broken on x86_64 openSUSE 11.3

2010-08-16 Thread thidney thidney
Hi I hit quite strange problem, FindJava insist that my java is located in /usr/lib/jvm/java and try to execute java -verson from /usr/lib/jvm/java/bin/java which hast to fail. /usr/lib/jvm do not exist I had set env variables > echo $JAVA_HOME /usr/lib64/jvm/java > echo $JAVA_ROOT /usr/lib64/j

[CMake] include properties file for Makefile

2010-07-09 Thread thidney thidney
Hi, I am converting our old Makefiles to cmake. In one Makefile we use "include different/project/build.mak" which basicacly contain KEY=VALUE lines. I am trying to find out how to pass this directive from CMakeLists.txt to generated Makefiles? Is it possible with CMake? Thanks Thidney _