summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-25 13:07:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-25 13:07:02 (GMT)
commit6482d38bdf53ff5f3d12bb596b6dee4d08618b45 (patch)
tree944625feae69a4bef695c3eb54dd503f9096f780 /Modules/FindSDL.cmake
parent7a9b6dffa95b21aa0368f28fd50172d68c86f930 (diff)
downloadCMake-6482d38bdf53ff5f3d12bb596b6dee4d08618b45.zip
CMake-6482d38bdf53ff5f3d12bb596b6dee4d08618b45.tar.gz
CMake-6482d38bdf53ff5f3d12bb596b6dee4d08618b45.tar.bz2
ENH: do not clear find variables
Diffstat (limited to 'Modules/FindSDL.cmake')
-rw-r--r--Modules/FindSDL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake
index 64d4262..75b42cc 100644
--- a/Modules/FindSDL.cmake
+++ b/Modules/FindSDL.cmake
@@ -183,7 +183,7 @@ IF(SDL_LIBRARY_TEMP)
# Set the final string here so the GUI reflects the final state.
SET(SDL_LIBRARY ${SDL_LIBRARY_TEMP} CACHE STRING "Where the SDL Library can be found")
# Set the temp variable to INTERNAL so it is not seen in the CMake GUI
- SET(SDL_LIBRARY_TEMP "" CACHE INTERNAL "")
+ SET(SDL_LIBRARY_TEMP "${SDL_LIBRARY_TEMP}" CACHE INTERNAL "")
SET(SDL_FOUND "YES")
ENDIF(SDL_LIBRARY_TEMP)