[CMake] RE: UseLATEX.cmake macros
Bertrand Jacquin
beber.mailing at gmail.com
Thu Apr 20 13:58:09 EDT 2006
On 4/20/06, Moreland, Kenneth <kmorel at sandia.gov> 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:beber.mailing at gmail.com]
> > Sent: Thursday, April 20, 2006 9:36 AM
> > To: Moreland, Kenneth
> > Cc: Bertrand Jacquin; cmake at cmake.org; else-devel at gna.org
> > Subject: Re: [CMake] RE: UseLATEX.cmake macros
> >
> > On 4/19/06, Moreland, Kenneth <kmorel at sandia.gov> 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
> > #e.fr at freenode
> >
> >
>
>
--
Beber
#e.fr at freenode
More information about the CMake
mailing list