aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 404d558e..a3d4c071 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -175,8 +175,8 @@ option(ENABLE_H264 "Enable H.264 RFB encoding" ON)
if(ENABLE_H264)
if(WIN32)
add_definitions("-DHAVE_H264")
- set(H264_LIBS "NONE") # may be LIBAV in the future
- message(WARNING "NO H264 LIBs are supported on Windows")
+ set(H264_LIBS "WIN") # may be LIBAV in the future
+ set(H264_LIBRARIES ole32 mfplat mfuuid wmcodecdspuuid)
else()
check_include_files(libavcodec/avcodec.h HAVE_AVCODEC_H)
check_include_files(libavutil/avutil.h HAVE_AVUTIL_H)