mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
- 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:
parent
a72b94e80c
commit
759139e6f3
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue