Skip to content

Commit

Permalink
Ensure valid Vulkan path
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesevans14 committed Oct 29, 2024
1 parent 08d5fae commit 5bd9bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMake/Variables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set_property(CACHE PLATFORM_STD_FILESYSTEM PROPERTY STRINGS 0 1 2)

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(ENV_VULKAN_SDK_DIR $ENV{VULKAN_SDK})
cmake_path(NORMAL_PATH ENV_VULKAN_SDK_DIR OUTPUT_VARIABLE ENV_VULKAN_SDK_DIR)
message("Environment VULKAN_SDK = ${ENV_VULKAN_SDK_DIR}")
list(APPEND CMAKE_MODULE_PATH "${ENV_VULKAN_SDK_DIR}")
find_package(Vulkan REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion DirectX12/RenderPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ using namespace platform;
using namespace dx12;

#if SIMUL_INTERNAL_CHECKS
#define PLATFORM_D3D12_RELEASE_MANAGER_CHECKS 1
#define PLATFORM_D3D12_RELEASE_MANAGER_CHECKS 0
#else
#define PLATFORM_D3D12_RELEASE_MANAGER_CHECKS 0
#endif
Expand Down

0 comments on commit 5bd9bbd

Please sign in to comment.