[CMake] "could not find cmake module"

Eric Noulard eric.noulard at gmail.com
Sun Apr 10 14:38:11 EDT 2011


2011/4/10 Christian Vander Jagt <chrisvanderjagt at yahoo.com>:
> I'm using CMake 2.8,

You should something like 2.8.x, what is the x ?

>  I did not compile it, I got it from
> http://cmake.org/cmake/resources/software.html,

Ok good, I bet you took the "Windows Installer".

>I guess plain windows vista,
> the compiler I'm using is MinGW, not sure if that's the same as the
> generator,

The "generator" is the name you chose after you've launched CMake
from a pristine build tree.

If you do not remember which one you chose the first time
try with a new build tree:
http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

>i have probably about 20 CMakeLists.txt, which one do you want?

The upper level one or the first one which makes CMake fail.

By the way did you wrote those CMakeLists.txt or are you trying
to compile someone else sources?

Did you succeed  to compile those sources before with CMake?

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list