aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindDSound.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindDSound.cmake')
-rw-r--r--cmake/FindDSound.cmake2
1 files changed, 1 insertions, 1 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)