[CMake] RE: UseLATEX.cmake macros
kmorel
kmorel at sandia.gov
Tue Apr 25 18:00:15 EDT 2006
Like I said, that same code worked fine for me. What platform are you
running on?
-Ken
On 4/25/06 3:58 PM, "Bertrand Jacquin" <beber.mailing at gmail.com> wrote:
> 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