I'm getting this error
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_Java_LINK_EXECUTABLE
where/how does this variable get set?
Thanks
Richard
___
CMake mailing list
CMak
Richard Fuchs wrote:
> I'm getting this error
>
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_Java_LINK_EXECUTABLE
>
> where/how does this variable get set?
What is your CMakeLists.txt file code that causes th
Brad King wrote:
Richard Fuchs wrote:
I'm getting this error
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_Java_LINK_EXECUTABLE
where/how does this variable get set?
What is your CMakeLists.txt file code t
To answer my own question, yes don't call ADD_EXECUTABLE with java
files, use ADD_LIBRARY.
After hunting through CMakeJavaInformation.cmake, it doesn't seem to
have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
correct name for it is). Does this mean that you can't call
ADD_E
Richard Fuchs wrote:
> After hunting through CMakeJavaInformation.cmake, it doesn't seem to
> have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
> correct name for it is). Does this mean that you can't call
> ADD_EXECUTABLE with java files and I need to use ADD_LIBRARY or
> somethi
Brad King wrote:
Richard Fuchs wrote:
After hunting through CMakeJavaInformation.cmake, it doesn't seem to
have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
correct name for it is). Does this mean that you can't call
ADD_EXECUTABLE with java files and I need to use ADD_LIBRA
Richard Fuchs wrote:
> So why when I have a simple CMakeLists.txt file like below am I getting
> this error? Why is it trying to put the .class files in some funky
> directory instead of just where the .java files are? Is there a way to
> set the OBJECT_DIR that's in the CMakeJavaInformation.cmak
Brad King wrote:
Richard Fuchs wrote:
So why when I have a simple CMakeLists.txt file like below am I getting
this error? Why is it trying to put the .class files in some funky
directory instead of just where the .java files are? Is there a way to
set the OBJECT_DIR that's in the CMakeJavaI
Spoke to soon, it seems to be a problem with where javac is invoked.
With the current makefiles that are created, the javac -d option has a
relative path from where the source files are located, but javac is
being invoked from the root project dir. I was able to modify the
build.make file tha
Richard Fuchs wrote:
> Spoke to soon, it seems to be a problem with where javac is invoked.
> With the current makefiles that are created, the javac -d option has a
> relative path from where the source files are located, but javac is
> being invoked from the root project dir. I was able to modif
Brad King wrote:
Richard Fuchs wrote:
Spoke to soon, it seems to be a problem with where javac is invoked.
With the current makefiles that are created, the javac -d option has a
relative path from where the source files are located, but javac is
being invoked from the root project dir. I wa
Richard Fuchs wrote:
Brad King wrote:
Richard Fuchs wrote:
Spoke to soon, it seems to be a problem with where javac is invoked.
With the current makefiles that are created, the javac -d option has a
relative path from where the source files are located, but javac is
being invoked from the
12 matches
Mail list logo