Ensure that macos builds create asset output directories for krbundles
This commit is contained in:
@@ -222,6 +222,7 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
|
||||
|
||||
add_subdirectory(standard_assets)
|
||||
|
||||
|
||||
SET(STANDARD_ASSET_LIST_FILE "${CMAKE_BINARY_DIR}/standard_assets_list")
|
||||
SET(STANDARD_ASSET_BUNDLE "${CMAKE_BINARY_DIR}/output/assets/standard_assets.krbundle")
|
||||
|
||||
@@ -230,6 +231,7 @@ FOREACH(line ${KRAKEN_STANDARD_ASSETS})
|
||||
SET(STANDARD_ASSET_LIST_FILE_CONTENTS "${STANDARD_ASSET_LIST_FILE_CONTENTS}${line}\n")
|
||||
ENDFOREACH(line)
|
||||
FILE(WRITE ${STANDARD_ASSET_LIST_FILE} ${STANDARD_ASSET_LIST_FILE_CONTENTS})
|
||||
FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/output/assets")
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${STANDARD_ASSET_BUNDLE}
|
||||
|
||||
Reference in New Issue
Block a user