mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 17:01:07 +00:00
Properly check if cmake is running on wwindows
Thanks Monster Iestyn for informing me this is the correct way.
This commit is contained in:
parent
2ca5e29110
commit
1b79b9527c
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ set(SRB2_CONFIG_STATIC_OPENGL OFF CACHE BOOL
|
|||
"Use statically linked OpenGL. NOT RECOMMENDED.")
|
||||
|
||||
### use internal libraries?
|
||||
if (WIN32) ###set on Windows only
|
||||
if(${CMAKE_SYSTEM} MATCHES "Windows") ###set on Windows only
|
||||
set(SRB2_CONFIG_USE_INTERNAL_LIBRARIES OFF CACHE BOOL
|
||||
"Use SRB2's internal copies of required dependencies (SDL2, PNG, zlib, GME).")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue