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" <[EMAIL PROTECTED]> wrote: > On 4/21/06, Moreland, Kenneth <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake