[CMake] RE: UseLATEX.cmake macros

Bertrand Jacquin beber.mailing at gmail.com
Tue Apr 25 17:58:35 EDT 2006


On 4/21/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> > >I got the
> > > CMakeLists.txt in question and tried it out.  Apart from
> > adding the
> > >.cmake extension to the file in the INCLUDE command,
> > everything worked
> > >fine.
> >
> > If a add .cmake to extension, cmake try to find a file called
> > UseLATEX.cmake.cmake. So, I trashed it.
>
> I see.  You put UseLATEX.cmake in some other file and set
> CMAKE_MODULE_PATH to that directory.  In that case, INCLUDE
> automatically adds the .cmake extension.  I tried that too, and it
> worked fine.

Here is my CMakeLists.txt :

SET(CMAKE_CURRENT_BINARY_DIR bin)

INCLUDE(UseLATEX)
ADD_LATEX_IMAGES(img)
ADD_LATEX_DOCUMENT(cahier_des_charges_fonctionnel_fr.tex)

And it failed :(

--
Beber
#e.fr at freenode


More information about the CMake mailing list