finish buggy dx11 code
This commit is contained in:
@@ -24,8 +24,9 @@ option(BASALT_PIPE_DELIVER "Build with system pipe data deliver support." OFF)
|
||||
# 3D Objects Loaders
|
||||
option(BASALT_OBJ_OBJECT_LOADER "Build with Wavefront OBJ 3D object loader support." OFF)
|
||||
option(BASALT_GLTF_OBJECT_LOADER "Build with glTF 3D object loader support." OFF)
|
||||
option(BASALT_ASSIMP_OBJECT_LOADER "Build with Assimp 3D object loader support." OFF)
|
||||
# Camera Motion Loaders
|
||||
option(BASALT_UNKNOWN_ANIME_LOADER "Build with Unknown camera motion loader support." OFF)
|
||||
option(BASALT_homemade_ANIME_LOADER "Build with homemade camera motion loader support." OFF)
|
||||
|
||||
# Set C++ standards
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
@@ -35,10 +36,11 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
# Include some essential CMake components
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Find required packages based on options
|
||||
# Add out CMake in module found path
|
||||
set(CMAKE_MODULE_PATH
|
||||
"${CMAKE_CURRENT_LIST_DIR}/CMake"
|
||||
)
|
||||
# Find required packages based on options
|
||||
if (BASALT_CUDA_DELIVER)
|
||||
find_package(CUDA REQUIRED)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user