Always allow partial builds

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8440 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2022-08-31 15:54:32 +00:00
parent 6f7a9ccae4
commit 5d2bc9cc37
2 changed files with 3 additions and 5 deletions

View File

@ -88,8 +88,6 @@ MACRO(ADD_SD_COMPILE_OPTIONS)
SET(OPTION_ALL_IN_ONE_PACKAGING false CACHE BOOL "Enable CPack's monolithic PACKAGE")
SET(OPTION_PARTIAL_BUILD false CACHE BOOL "Enable this to build from downloaded tar file(s)")
SET(OPTION_TRACKEDITOR true CACHE BOOL "Build the TrackEditor (Requires Java)")
IF(APPLE)

View File

@ -11,9 +11,9 @@ SET(_RACE_FILES practice.xml quickrace.xml
career_36GP.xmls career_MPA1.xmls
career_supercars.xmls career_ls1.xmls)
IF(OPTION_PARTIAL_BUILD OR OPTION_ALL_IN_ONE_PACKAGING)
FILE(GLOB _RACE_FILES *.xm*)
ENDIF(OPTION_PARTIAL_BUILD OR OPTION_ALL_IN_ONE_PACKAGING)
# Using GLOB here because when building from less than the complete set of source tars,
# the build would fail because some of the files listed above will be missing.
FILE(GLOB _RACE_FILES *.xm*)
SD_INSTALL_FILES(DATA config/raceman USER config/raceman FILES ${_RACE_FILES})