diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c8fa09..8e34d81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,4 @@ if(UNIX AND NOT APPLE) add_subdirectory(rendering_api/vulkan/) endif() -add_subdirectory(depends/SPIRV-Cross/) - target_link_libraries(Gryphn) diff --git a/rendering_api/metal/CMakeLists.txt b/rendering_api/metal/CMakeLists.txt index dd0d8bd..543215c 100644 --- a/rendering_api/metal/CMakeLists.txt +++ b/rendering_api/metal/CMakeLists.txt @@ -19,6 +19,7 @@ target_include_directories(GryphnMetalImpl PUBLIC # target_link_options(GryphnMetalImpl PRIVATE -rdynamic) add_compile_definitions(GN_REVEAL_IMPL) add_subdirectory(depends/metal-cpp) +add_subdirectory(depends/SPIRV-Cross) add_library(glfw SHARED IMPORTED) set_target_properties(glfw PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/build/depends/glfw/glfw-3.4/src/libglfw.3.4.dylib)