Sync editor rendering and UI workspace updates
This commit is contained in:
@@ -13,6 +13,26 @@ project(XCEngine)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(XCENGINE_NANOVDB_INCLUDE_HINTS
|
||||
"${CMAKE_SOURCE_DIR}/engine/third_party/nanovdb/include"
|
||||
"$ENV{VCPKG_ROOT}/installed/x64-windows/include"
|
||||
"D:/vcpkg/installed/x64-windows/include"
|
||||
)
|
||||
|
||||
find_path(
|
||||
XCENGINE_NANOVDB_INCLUDE_DIR
|
||||
NAMES nanovdb/io/IO.h
|
||||
HINTS ${XCENGINE_NANOVDB_INCLUDE_HINTS}
|
||||
)
|
||||
|
||||
if(XCENGINE_NANOVDB_INCLUDE_DIR)
|
||||
set(XCENGINE_HAS_NANOVDB ON)
|
||||
message(STATUS "NanoVDB headers found: ${XCENGINE_NANOVDB_INCLUDE_DIR}")
|
||||
else()
|
||||
set(XCENGINE_HAS_NANOVDB OFF)
|
||||
message(STATUS "NanoVDB headers not found; .nvdb source-file support will be disabled")
|
||||
endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
option(XCENGINE_ENABLE_MONO_SCRIPTING "Build the Mono-based C# scripting runtime" ON)
|
||||
|
||||
Reference in New Issue
Block a user