Trying to fix build(again)

This commit is contained in:
Dynamitos
2024-01-19 22:57:45 +01:00
parent cb6b1815ee
commit 8dc52fa151
6 changed files with 27 additions and 16 deletions
+5 -1
View File
@@ -50,6 +50,10 @@ find_package(nlohmann_json CONFIG REQUIRED)
find_package(fmt CONFIG REQUIRED)
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
if(APPLE)
find_library(COCOA_LIBRARY Cocoa)
endif()
if(UNIX)
find_package(Threads REQUIRED)
endif()
@@ -71,9 +75,9 @@ target_link_libraries(Engine PUBLIC assimp::assimp)
target_link_libraries(Engine PUBLIC KTX::ktx)
target_link_libraries(Engine PUBLIC nlohmann_json::nlohmann_json)
target_link_libraries(Engine PUBLIC crcpp)
target_link_libraries(Engine PUBLIC shader-slang)
target_link_libraries(Engine PUBLIC fmt::fmt)
target_link_libraries(Engine PUBLIC GPUOpen::VulkanMemoryAllocator)
target_link_libraries(Engine PUBLIC shader-slang)
if(UNIX)
target_link_libraries(Engine PUBLIC Threads::Threads)
target_link_libraries(Engine PUBLIC dl)