I'm having trouble getting cmake to find FLTK using this code in my CMakeLists.txt file:<br><br>FIND_PACKAGE(FLTK)<br>IF (FLTK_FOUND)<br> MESSAGE(STATUS "Looking for FLTK - found : ${FLTK_LIBRARIES}")<br> GET_FILENAME_COMPONENT(FLTKPATH ${FLTK_LIBRARIES} PATH)
<br> LINK_DIRECTORIES(${FLTKPATH})<br>ELSE (FLTK_FOUND)<br> MESSAGE(STATUS "Looking for FLTK - not found")<br>ENDIF (FLTK_FOUND)<br><br>I have the default FindFLTK.cmake file in my cmake/Modules directory, and I installed FLTK by downloading it from the website and running
<br><br>./configure <br>make<br>sudo make install<br><br>like it says in the instructions, but cmake doesn't seem to be able to find it. also, when i type which fltk, it doesn't find anything, but i'm not sure if that is important or not.
<br><br>dave<br>