ENH: do not clear find variables
This commit is contained in:
parent
7a9b6dffa9
commit
6482d38bdf
@ -183,7 +183,7 @@ IF(SDL_LIBRARY_TEMP)
|
|||||||
# Set the final string here so the GUI reflects the final state.
|
# 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(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 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")
|
SET(SDL_FOUND "YES")
|
||||||
ENDIF(SDL_LIBRARY_TEMP)
|
ENDIF(SDL_LIBRARY_TEMP)
|
||||||
|
@ -270,7 +270,6 @@ IF(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY)
|
|||||||
/opt/csw/lib
|
/opt/csw/lib
|
||||||
/opt/lib
|
/opt/lib
|
||||||
)
|
)
|
||||||
SET(TEMP_SDLSOUND_FIND_VORBIS_FRAMEWORK "" CACHE INTERNAL "")
|
|
||||||
IF(VORBIS_LIBRARY)
|
IF(VORBIS_LIBRARY)
|
||||||
SET(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${VORBIS_LIBRARY})
|
SET(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${VORBIS_LIBRARY})
|
||||||
ENDIF(VORBIS_LIBRARY)
|
ENDIF(VORBIS_LIBRARY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user