[CMake] CMake and Clanlib
cmake at lonely-star.org
Sun May 11 11:32:13 EDT 2008
I am completly new to cmake, I want to use it in a project, where I also use ClanLib.
What I did:
I downloaded http://www.cmake.org/Wiki/CMakeUserFindClanLib into
This is my CMakeLists.txt:
The line SET(ClanLib_DIR /home/ls/Project/) sets ClanLib_DIR to the directory of ClanLibConfig.cmake.
Unfortantly this setup does not find the ClanLib library.
1. What am I doing wrong?
2. How can I set ClanLib_DIR to the current directory? "." does not work
3. How can I make CMake stop with an error if it does not find ClanLib?
More information about the CMake