mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 15:50:37 +02:00
add baking to default build, add default to baking status
This commit is contained in:
parent
3abca67f1a
commit
ed21ad11d2
2 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,5 @@ if (FBX_FOUND)
|
||||||
target_include_directories(${TARGET_NAME} SYSTEM PRIVATE ${FBX_INCLUDE_DIR})
|
target_include_directories(${TARGET_NAME} SYSTEM PRIVATE ${FBX_INCLUDE_DIR})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set_target_properties(${TARGET_NAME} PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
|
||||||
|
|
||||||
link_hifi_libraries(shared model networking ktx image)
|
link_hifi_libraries(shared model networking ktx image)
|
||||||
include_hifi_library_headers(gpu)
|
include_hifi_library_headers(gpu)
|
||||||
|
|
|
@ -87,8 +87,6 @@ bool isValidHash(const AssetHash& hash) {
|
||||||
|
|
||||||
QString bakingStatusToString(BakingStatus status) {
|
QString bakingStatusToString(BakingStatus status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case Unrelevant:
|
|
||||||
return "--";
|
|
||||||
case NotBaked:
|
case NotBaked:
|
||||||
return "Not Baked";
|
return "Not Baked";
|
||||||
case Pending:
|
case Pending:
|
||||||
|
@ -99,5 +97,8 @@ QString bakingStatusToString(BakingStatus status) {
|
||||||
return "Baked";
|
return "Baked";
|
||||||
case Error:
|
case Error:
|
||||||
return "Error";
|
return "Error";
|
||||||
|
default:
|
||||||
|
case Unrelevant:
|
||||||
|
return "--";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue