summaryrefslogtreecommitdiff
path: root/Modules/FindSDL_sound.cmake
diff options
context:
space:
mode:
authorBenjamin Eikel <cmake@eikel.org>2013-11-11 22:26:16 +0100
committerBrad King <brad.king@kitware.com>2013-11-21 15:30:36 -0500
commit9619719882935b9f5bed43079a1ac74f82c09ba1 (patch)
treecd91bdfd0321e3eabaf25a342ccead0a1123f467 /Modules/FindSDL_sound.cmake
parent13da9f00245694d3dee9f4c9b245f0e3941284c5 (diff)
downloadcmake-9619719882935b9f5bed43079a1ac74f82c09ba1.tar.gz
FindSDL: Add additional search paths on MSVC (#14029)
Add an architecture-specific library directory path suffix for each component. Use different search path for SDL_sound. Project files in VisualC directory suggest that a win32lib will hold the libraries. Reported-by: Paul Hampson <Paul.Hampson@Pobox.com>
Diffstat (limited to 'Modules/FindSDL_sound.cmake')
-rw-r--r--Modules/FindSDL_sound.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake
index 863699af6b..3a6ab7b656 100644
--- a/Modules/FindSDL_sound.cmake
+++ b/Modules/FindSDL_sound.cmake
@@ -106,7 +106,7 @@ find_library(SDL_SOUND_LIBRARY
HINTS
ENV SDLSOUNDDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib VisualC/win32lib
)
if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY)