From 8bf5872fc0087d22a0b307c573a58e6010d2b055 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 Nov 2013 10:27:08 +0100 Subject: [PATCH] - always add DelayImp.lib for MSVC. --- src/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7a9b0138d..ee98563b6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -142,12 +142,8 @@ if( WIN32 ) comdlg32 ws2_32 setupapi - oleaut32 ) - - # For some reason this isn't implied on 2005 - if( MSVC80 ) - set( ZDOOM_LIBS ${ZDOOM_LIBS} DelayImp ) - endif( MSVC80 ) + oleaut32 + DelayImp ) else( WIN32 ) if( APPLE ) set( FMOD_SEARCH_PATHS "/Developer/FMOD Programmers API Mac/api" )