Why are you setting "CMAKE_CURRENT_BINARY_DIR"? CMake sets that variable
for you...
Does the same thing happen if you take out the
SET(CMAKE_CURRENT_BINARY_DIR... line?
Bertrand Jacquin 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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake