I&#39;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>&nbsp;MESSAGE(STATUS &quot;Looking for FLTK - found : ${FLTK_LIBRARIES}&quot;)<br>&nbsp;GET_FILENAME_COMPONENT(FLTKPATH ${FLTK_LIBRARIES} PATH)
<br>&nbsp;LINK_DIRECTORIES(${FLTKPATH})<br>ELSE (FLTK_FOUND)<br>&nbsp;MESSAGE(STATUS &quot;Looking for FLTK - not found&quot;)<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&#39;t seem to be able to find it. also, when i type which fltk, it doesn&#39;t find anything, but i&#39;m not sure if that is important or not.
<br><br>dave<br>