File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,12 +39,14 @@ endif()
3939
4040if (PLATFORM_SUPPORT_D3D12)
4141 if (${SAMPLE_API} MATCHES "SAMPLE_USE_D3D12" )
42+ target_include_directories (Sample_MT PRIVATE "${CMAKE_SOURCE_DIR} /Platform/DirectX12" )
4243 target_link_libraries (Sample_MT PRIVATE SimulDirectX12_MT )
4344 endif ()
4445endif ()
4546
4647if (PLATFORM_SUPPORT_VULKAN)
4748 if (${SAMPLE_API} MATCHES "SAMPLE_USE_VULKAN" )
49+ target_include_directories (Sample_MT PRIVATE "${CMAKE_SOURCE_DIR} /Platform/External/VulkanMemoryAllocator/include" )
4850 target_link_libraries (Sample_MT PRIVATE SimulVulkan_MT )
4951 endif ()
5052endif ()
Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ if(PLATFORM_SUPPORT_D3D11)
2727endif ()
2828
2929if (PLATFORM_SUPPORT_D3D12)
30+ target_include_directories (Test_MT PRIVATE "${CMAKE_SOURCE_DIR} /Platform/DirectX12" )
3031 target_link_libraries (Test_MT PRIVATE SimulDirectX12_MT )
3132endif ()
3233
3334if (PLATFORM_SUPPORT_VULKAN)
35+ target_include_directories (Test_MT PRIVATE "${CMAKE_SOURCE_DIR} /Platform/External/VulkanMemoryAllocator/include" )
3436 target_include_directories (Test_MT PUBLIC "${Vulkan_INCLUDE_DIR} " )
3537 target_link_libraries (Test_MT PRIVATE SimulVulkan_MT glfw ${Vulkan_LIBRARY} )
3638endif ()
You can’t perform that action at this time.
0 commit comments