Fixing more stuff

This commit is contained in:
Dynamitos
2024-01-20 13:22:47 +01:00
parent 8dc52fa151
commit 4868fb51ac
4 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -50,9 +50,6 @@ 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)
@@ -78,6 +75,9 @@ target_link_libraries(Engine PUBLIC crcpp)
target_link_libraries(Engine PUBLIC fmt::fmt)
target_link_libraries(Engine PUBLIC GPUOpen::VulkanMemoryAllocator)
target_link_libraries(Engine PUBLIC shader-slang)
if(APPLE)
target_link_directories(Engine PUBLIC /usr/local/lib)
endif()
if(UNIX)
target_link_libraries(Engine PUBLIC Threads::Threads)
target_link_libraries(Engine PUBLIC dl)