I'm having an issue with the FindSDL.cmake module included with CMake 2.6.0 RC9 (testing on Windows)<br><br>For some reason immediately after it "finds" or you help it find the SDL, if you configure again, SDL_FOUND gets changed from TRUE to FALSE. I believe this is being caused by SDL_LIBRARY_TEMP being set to empty (and cache internal).<br>
<br>Reproducer:<br><br><br>PROJECT(foo)<br>FIND_PACKAGE(SDL)<br>IF(SDL_FOUND)<br> MESSAGE("SDL was found!")<br>ELSE()<br> MESSAGE("SDL NOT found!")<br>ENDIF()<br><br>-- <br>Philip Lowman