Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/platform/CMakeLists.txt
2022-02-21 11:47:23 -05:00

11 lines
No EOL
325 B
CMake
Executable file

if(ENABLE_VULKAN)
set(EXTRA_LIBRARIES Vulkan::Vulkan ${EXTRA_LIBRARIES})
endif()
if(ENABLE_METAL)
set(EXTRA_LIBRARIES metal-cpp ${EXTRA_LIBRARIES})
endif()
add_library(Platform INTERFACE)
target_include_directories(Platform INTERFACE include)
target_link_libraries(Platform INTERFACE Utility Log ${EXTRA_LIBRARIES})