mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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
6eec21f49d
commit
1a35fbbd53
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?
|
||||||
|
if (WIN32) ###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()
|
||||||
|
|
||||||
if(${SRB2_CONFIG_HAVE_BLUA})
|
if(${SRB2_CONFIG_HAVE_BLUA})
|
||||||
add_definitions(-DHAVE_BLUA)
|
add_definitions(-DHAVE_BLUA)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue