Fix DLLs installation for gearbox/opfor

This commit is contained in:
Alibek Omarov 2021-02-26 17:58:07 +03:00
parent 805fce2350
commit ee580b7652
2 changed files with 4 additions and 4 deletions

View File

@ -39,10 +39,10 @@ option(BUILD_CLIENT "Build client dll" ON)
option(BUILD_SERVER "Build server dll" ON)
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)
option(64BIT "Disable auto -m32 appending to compiler flags" OFF)
set(GAMEDIR "valve" CACHE STRING "Gamedir path")
set(GAMEDIR "gearbox" CACHE STRING "Gamedir path")
set(SERVER_INSTALL_DIR "dlls" CACHE STRING "Where put server dll")
set(CLIENT_INSTALL_DIR "cl_dlls" CACHE STRING "Where put client dll")
set(SERVER_LIBRARY_NAME "hl" CACHE STRING "Library name for Linux/MacOS/Windows")
set(SERVER_LIBRARY_NAME "opfor" CACHE STRING "Library name for Linux/MacOS/Windows")
#-----------------
# MAIN BUILD CODE \

View File

@ -56,10 +56,10 @@ def options(opt):
def configure(conf):
# Configuration
conf.env.GAMEDIR = 'valve'
conf.env.GAMEDIR = 'gearbox'
conf.env.CLIENT_DIR = 'cl_dlls'
conf.env.SERVER_DIR = 'dlls'
conf.env.SERVER_NAME = 'hl'
conf.env.SERVER_NAME = 'opfor'
conf.env.PREFIX = ''
conf.load('fwgslib reconfigure')