Skip to content
Snippets Groups Projects
Commit 1b79b952 authored by SteelT's avatar SteelT
Browse files

Properly check if cmake is running on wwindows

Thanks Monster Iestyn for informing me this is the correct way.
parent 2ca5e291
No related branches found
No related tags found
2 merge requests!488Merge in next and don't billboard papersprites in GL,!325CMake: Use internal libs.
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment