mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-29 20:50:38 +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 statically linked OpenGL. NOT RECOMMENDED.")
|
||||||
|
|
||||||
### use internal libraries?
|
### 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
|
set(SRB2_CONFIG_USE_INTERNAL_LIBRARIES OFF CACHE BOOL
|
||||||
"Use SRB2's internal copies of required dependencies (SDL2, PNG, zlib, GME).")
|
"Use SRB2's internal copies of required dependencies (SDL2, PNG, zlib, GME).")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue