[CMake] re include problem
Bill Hoffman
bill.hoffman at kitware.com
Fri Apr 20 16:03:13 EDT 2007
dfeustel at mindspring.com wrote:
> I removed the OpenBSD CMake 2.4 package.
> I built and installed CMake 2.4.6 and
> ran the command "cmake . " with CMakeLists.txt
> containing:
>
> Find_Package(JPEG)
> Find_Package(Qt3)
>
> set (p /usr/local/share/cmake-2.4/Modules)
>
> INCLUDE(${p}/FindPNG.cmake)
> INCLUDE(${p}/FindX11.cmake)
> INCLUDE(${p}/FindQt3.cmake)
> #INCLUDE(${p}/FindKDE3.cmake)
> INCLUDE(FindKDE3.cmake)
> INCLUDE(${p}/FindTCL.cmake)
>
>
> I got the following output:
>
> /home/daf/Cm}cmake .
> -- Found JPEG: /usr/local/lib/libjpeg.so.62.0
> -- Found PNG: /usr/local/lib/libpng.so.5.1
> CMake Error: Error in cmake code at
> /home/daf/Cm/CMakeLists.txt:10:
> INCLUDE Could not find include file: FindKDE3.cmake
> Current CMake stack: /home/daf/Cm/CMakeLists.txt;/usr/local/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/local/share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/home/daf/Cm/FindKDE3.cmake
> -- Configuring done
> /home/daf/Cm}
>
Are you sure you are running the correct cmake? which cmake? Also, can
you run cmake out of the build tree?
-Bill
More information about the CMake
mailing list