mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-21 19:32:31 +00:00
- Fix ZDBSP compilation on non-Windows system. It tried to use the
viewer regardless of target OS. SVN r2399 (trunk)
This commit is contained in:
parent
f824fe7a86
commit
983907fd20
1 changed files with 107 additions and 103 deletions
|
@ -118,7 +118,6 @@ set( SOURCES
|
|||
processor.cpp
|
||||
processor_udmf.cpp
|
||||
sc_man.cpp
|
||||
view.cpp
|
||||
wad.cpp
|
||||
nodebuild.cpp
|
||||
nodebuild_events.cpp
|
||||
|
@ -127,6 +126,11 @@ set( SOURCES
|
|||
nodebuild_utility.cpp
|
||||
nodebuild_classify_nosse2.cpp
|
||||
)
|
||||
if( WIN32 )
|
||||
set( SOURCES "${SOURCES} view.cpp" )
|
||||
else( WIN32 )
|
||||
add_definitions( -DNO_MAP_VIEWER )
|
||||
endif( WIN32 )
|
||||
|
||||
if( SSE_MATTERS )
|
||||
if( FULL_SSE2 )
|
||||
|
|
Loading…
Reference in a new issue