Well, I am at a loss as to what your problem can be. I am using the same version of cmake and have successfully used UseLATEX.cmake on two different platforms.
Furthermore, the first two errors that you are getting are in part of UseLATEX.cmake that are before any changes that I have made. You were not getting them before, so what happened? Are you sure that you grabbed it from the Wiki correctly?
Before you gave a link to the CMakeLists.txt you were using, but I tried following it and did not see and CMake files. If you fixed that, I might be able to take a look at what you are doing.
-Ken
-----Original Message-----
From: Bertrand Jacquin [mailto:[EMAIL PROTECTED]]
Sent: Thu 4/20/2006 11:58 AM
To: Moreland, Kenneth
Cc: Bertrand Jacquin; [email protected]; [email protected]
Subject: Re: [CMake] RE: UseLATEX.cmake macros
On 4/20/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote:
> The first error is because you are not building out-of-source. The rest
> of the errors are a mystery to me. I'm not getting them. It looks like
> CMake is incorrectly resolving a bunch of variables as empty (which
> would also explain the first error if you really are building
> out-of-source). What version of CMake are you using?
/mnt/data/src/gaim % cmake --version
cmake version 2.2-patch 3
>
> -Ken
>
> > -----Original Message-----
> > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 20, 2006 9:36 AM
> > To: Moreland, Kenneth
> > Cc: Bertrand Jacquin; [email protected]; [email protected]
> > Subject: Re: [CMake] RE: UseLATEX.cmake macros
> >
> > On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote:
> > > Beber,
> > >
> > > I've posted an update for UseLATEX.cmake on the Wiki that should fix
> > > your problem. Let me know if you have other issues.
> >
> > Thanks,
> >
> > But ... cmake failed :
> >
> > ~/pfe-cmake % cmake .
> > -- Check for working C compiler: gcc
> > -- Check for working C compiler: gcc -- works
> > -- Check size of void*
> > -- Check size of void* - done
> > -- Check for working CXX compiler: c++
> > -- Check for working CXX compiler: c++ -- works
> > CMake Error: LaTeX files must be built out of source.
> > CMake Error: Error in cmake code at
> > /usr/share/cmake/Modules/UseLATEX.cmake:91:
> > INCLUDE Could not find include file: /Modules/FindLATEX.cmake
> > CMake Error: Error in cmake code at
> > /usr/share/cmake/Modules/UseLATEX.cmake:344:
> > LATEX_USAGE Macro invoked with incorrect arguments for macro
> > named: LATEX_USAGE
> > CMake Error: Error in cmake code at
> > /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
> > A command failed during the invocation of macro
> > "PARSE_ADD_LATEX_ARGUMENTS".
> > CMake Error: Error in cmake code at
> > /usr/share/cmake/Modules/UseLATEX.cmake:478:
> > PARSE_ADD_LATEX_ARGUMENTS unknown error.
> > CMake Error: Error in cmake code at
> > /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
> > A command failed during the invocation of macro "ADD_LATEX_DOCUMENT".
> > CMake Error: Error in cmake code at
> > /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
> > ADD_LATEX_DOCUMENT unknown error.
> > The end of a CMakeLists file was reached with an IF statement that was
> > not closed properly.
> > Within the directory: /home/beber/pfe-cmake/docs/cahier_des_charges
> > The arguments are: LATEX_DEFAULT_ARGS
> > -- Configuring done
> > ~/pfe-cmake :( %
> >
> > --
> > Beber
> > [EMAIL PROTECTED]
> >
> >
>
>
--
Beber
[EMAIL PROTECTED]
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
