diff options
author | Aaron Jacobs <[email protected]> | 2020-03-28 17:43:17 -0700 |
---|---|---|
committer | Aaron Jacobs <[email protected]> | 2020-03-28 17:43:17 -0700 |
commit | a3a2305d7a033b29c3d2fb16ef895124c169db01 (patch) | |
tree | 244e9204496661bf12418a17fb2639689ea4acf6 /cmake | |
parent | 6cfb4ec4624e948e68cd03f99f4f4917bf1549dc (diff) |
Fix find_package_handle_standard_args name mismatch warnings
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindDSound.cmake | 2 | ||||
-rw-r--r-- | cmake/FindMySOFA.cmake | 2 | ||||
-rw-r--r-- | cmake/FindOpenSL.cmake | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmake/FindDSound.cmake b/cmake/FindDSound.cmake index 4078deb5..ecd36078 100644 --- a/cmake/FindDSound.cmake +++ b/cmake/FindDSound.cmake @@ -9,7 +9,7 @@ # if (WIN32) - include(FindWindowsSDK) + FIND_PACKAGE(WindowsSDK) if (WINDOWSSDK_FOUND) get_windowssdk_library_dirs(${WINDOWSSDK_PREFERRED_DIR} WINSDK_LIB_DIRS) get_windowssdk_include_dirs(${WINDOWSSDK_PREFERRED_DIR} WINSDK_INCLUDE_DIRS) diff --git a/cmake/FindMySOFA.cmake b/cmake/FindMySOFA.cmake index a1d57446..7d485c35 100644 --- a/cmake/FindMySOFA.cmake +++ b/cmake/FindMySOFA.cmake @@ -56,7 +56,7 @@ find_library(MYSOFA_M_LIBRARY NAMES m # handle the QUIETLY and REQUIRED arguments and set MYSOFA_FOUND to TRUE if # all listed variables are TRUE include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(MYSOFA REQUIRED_VARS MYSOFA_LIBRARY MYSOFA_INCLUDE_DIR ZLIB_FOUND) +find_package_handle_standard_args(MySOFA REQUIRED_VARS MYSOFA_LIBRARY MYSOFA_INCLUDE_DIR ZLIB_FOUND) if(MYSOFA_FOUND) set(MYSOFA_INCLUDE_DIRS ${MYSOFA_INCLUDE_DIR}) diff --git a/cmake/FindOpenSL.cmake b/cmake/FindOpenSL.cmake index 41c68fde..e4b260bc 100644 --- a/cmake/FindOpenSL.cmake +++ b/cmake/FindOpenSL.cmake @@ -53,7 +53,7 @@ find_library(OPENSL_LIBRARY NAMES OpenSLES # handle the QUIETLY and REQUIRED arguments and set OPENSL_FOUND to TRUE if # all listed variables are TRUE include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(OPENSL REQUIRED_VARS OPENSL_LIBRARY OPENSL_INCLUDE_DIR +find_package_handle_standard_args(OpenSL REQUIRED_VARS OPENSL_LIBRARY OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR) if(OPENSL_FOUND) |