From 85675694213fa5f65be23d8b5af0dcfa9bd5e77b Mon Sep 17 00:00:00 2001 From: Daniel Nachbaur Date: Wed, 8 Jul 2015 00:07:03 +0200 Subject: [PATCH] Fix MSVC build --- .gitexternals | 2 +- apps/DesktopStreamer/CMakeLists.txt | 2 +- deflect/ImageWrapper.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitexternals b/.gitexternals index 5f72e97..f008374 100644 --- a/.gitexternals +++ b/.gitexternals @@ -1,2 +1,2 @@ # -*- mode: cmake -*- -# CMake/common https://github.com/Eyescale/CMake.git 188cf22 +# CMake/common https://github.com/Eyescale/CMake.git b5baa4e diff --git a/apps/DesktopStreamer/CMakeLists.txt b/apps/DesktopStreamer/CMakeLists.txt index d7bd351..4387437 100644 --- a/apps/DesktopStreamer/CMakeLists.txt +++ b/apps/DesktopStreamer/CMakeLists.txt @@ -38,7 +38,7 @@ if(APPLE) else() list(APPEND DESKTOPSTREAMER_LINK_LIBRARIES "-framework CoreGraphics") endif() -elseif(WIN32) +elseif(MSVC) list(APPEND DESKTOPSTREAMER_LINK_LIBRARIES Ws2_32) endif() diff --git a/deflect/ImageWrapper.h b/deflect/ImageWrapper.h index 5ce4779..0bdcdd6 100644 --- a/deflect/ImageWrapper.h +++ b/deflect/ImageWrapper.h @@ -67,7 +67,7 @@ enum CompressionPolicy { * (disabled by default). * @version 1.0 */ -struct DEFLECT_API ImageWrapper +struct ImageWrapper { /** * ImageWrapper constructor