Browse Source
[video_core] fix android
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/143/head
crueter
8 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
7 additions and
0 deletions
-
externals/CMakeLists.txt
-
src/video_core/CMakeLists.txt
|
|
@ -319,6 +319,9 @@ CPMAddPackage( |
|
|
FIND_PACKAGE_ARGUMENTS "CONFIG" |
|
|
FIND_PACKAGE_ARGUMENTS "CONFIG" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
set(VulkanMemoryAllocator_SOURCE_DIR "${VulkanMemoryAllocator_SOURCE_DIR}" PARENT_SCOPE) |
|
|
|
|
|
set(VulkanMemoryAllocator_ADDED "${VulkanMemoryAllocator_ADDED}" PARENT_SCOPE) |
|
|
|
|
|
|
|
|
if (NOT TARGET LLVM::Demangle) |
|
|
if (NOT TARGET LLVM::Demangle) |
|
|
add_library(demangle demangle/ItaniumDemangle.cpp) |
|
|
add_library(demangle demangle/ItaniumDemangle.cpp) |
|
|
target_include_directories(demangle PUBLIC ./demangle) |
|
|
target_include_directories(demangle PUBLIC ./demangle) |
|
|
|
|
|
@ -329,6 +329,10 @@ target_link_options(video_core PRIVATE ${FFmpeg_LDFLAGS}) |
|
|
add_dependencies(video_core host_shaders) |
|
|
add_dependencies(video_core host_shaders) |
|
|
target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE}) |
|
|
target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE}) |
|
|
|
|
|
|
|
|
|
|
|
if (VulkanMemoryAllocator_ADDED) |
|
|
|
|
|
target_include_directories(video_core PUBLIC ${VulkanMemoryAllocator_SOURCE_DIR}/include) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
target_link_libraries(video_core PRIVATE sirit Vulkan::Headers VulkanUtilityHeaders) |
|
|
target_link_libraries(video_core PRIVATE sirit Vulkan::Headers VulkanUtilityHeaders) |
|
|
|
|
|
|
|
|
if (ENABLE_NSIGHT_AFTERMATH) |
|
|
if (ENABLE_NSIGHT_AFTERMATH) |
|
|
|