mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-26 14:21:03 +00:00
Make sure the new option only works on Windows.
Is this how you do it? I'm not really sure.
This commit is contained in:
parent
d0b64222f7
commit
2ca5e29110
1 changed files with 3 additions and 1 deletions
|
@ -228,8 +228,10 @@ 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?
|
||||||
set(SRB2_CONFIG_USE_INTERNAL_LIBRARIES OFF CACHE BOOL
|
if (WIN32) ###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).")
|
"Use SRB2's internal copies of required dependencies (SDL2, PNG, zlib, GME).")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(${SRB2_CONFIG_HAVE_BLUA})
|
if(${SRB2_CONFIG_HAVE_BLUA})
|
||||||
add_definitions(-DHAVE_BLUA)
|
add_definitions(-DHAVE_BLUA)
|
||||||
|
|
Loading…
Reference in a new issue