[CMake] re include problem

dfeustel at mindspring.com dfeustel at mindspring.com
Fri Apr 20 15:41:12 EDT 2007


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}

Dave Feustel



More information about the CMake mailing list