- Fixed compilation with Visual Studio using CMake project by using slightly modified version of the code in Zandronum's changeset 597309d.

This commit is contained in:
Braden Obrzut 2013-10-05 14:48:26 -04:00
parent a72b94e80c
commit 759139e6f3

View file

@ -581,6 +581,17 @@ if( WIN32 )
else( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
set( SYSTEM_SOURCES ${SYSTEM_SOURCES} win32/zdoom.rc )
endif( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
# [BB] Maxim Stepin's hq2x/3x/4x pixel upsampling algorithm as library. Currently only used with VC++.
if( MSVC )
set( SYSTEM_SOURCES
${SYSTEM_SOURCES}
gl/hqnx/Image.cpp
gl/hqnx/hq2x.cpp
gl/hqnx/hq3x.cpp
gl/hqnx/hq4x.cpp
)
endif( MSVC )
else( WIN32 )
set( SYSTEM_SOURCES_DIR sdl )
set( SYSTEM_SOURCES