mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Merge pull request #207 from SubjectName/Compile_Option_fix
Add option for WinRT.
This commit is contained in:
commit
29caf7a01d
1 changed files with 5 additions and 2 deletions
|
@ -20,7 +20,10 @@ option(FFMPEG
|
|||
|
||||
option(ONATIVE
|
||||
"Optimize for the host CPU" OFF)
|
||||
|
||||
|
||||
option(FORRT
|
||||
"Build for Windows RT" OFF)
|
||||
|
||||
option(USE_SYSTEM_ZLIB
|
||||
"Use the system zlib instead of the bundled one" OFF)
|
||||
|
||||
|
@ -173,7 +176,7 @@ elseif(MSVC)
|
|||
#-DUSE_OPENAL
|
||||
-DUSE_EXCEPTIONS)
|
||||
## Check for Version ##
|
||||
if( ${CMAKE_SYSTEM_VERSION} EQUAL 6.2 ) # Windows 8
|
||||
if( FORRT ) # Windows RT
|
||||
add_definitions(-DUSE_WINRT)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue