summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL_mixer.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-14 21:16:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-02-14 21:16:57 (GMT)
commit16447fa92faf4ef29c4b86ba8b41d62105986a9b (patch)
tree5be8b30307899ad303aab9c0623352505a7fd290 /Modules/FindSDL_mixer.cmake
parent0402697c06368b81ad344885e95cc90ecb28b44b (diff)
parenta6de8a58822a70182e58ead76a1b308e11350bff (diff)
downloadCMake-16447fa92faf4ef29c4b86ba8b41d62105986a9b.zip
CMake-16447fa92faf4ef29c4b86ba8b41d62105986a9b.tar.gz
CMake-16447fa92faf4ef29c4b86ba8b41d62105986a9b.tar.bz2
Merge topic 'sdl-fphsa'
a6de8a5 FindSDL*: use FPHSA (#12467)
Diffstat (limited to 'Modules/FindSDL_mixer.cmake')
-rw-r--r--Modules/FindSDL_mixer.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/FindSDL_mixer.cmake b/Modules/FindSDL_mixer.cmake
index e2b2294..ce1ae9e 100644
--- a/Modules/FindSDL_mixer.cmake
+++ b/Modules/FindSDL_mixer.cmake
@@ -68,8 +68,7 @@ FIND_LIBRARY(SDLMIXER_LIBRARY
/opt
)
-SET(SDLMIXER_FOUND "NO")
-IF(SDLMIXER_LIBRARY AND SDLMIXER_INCLUDE_DIR)
- SET(SDLMIXER_FOUND "YES")
-ENDIF(SDLMIXER_LIBRARY AND SDLMIXER_INCLUDE_DIR)
+INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDLMIXER
+ REQUIRED_VARS SDLMIXER_LIBRARY SDLMIXER_INCLUDE_DIR)