Skip to content

Commit

Permalink
Fixing FindMETAL.cmake (#751)
Browse files Browse the repository at this point in the history
Closes #674
  • Loading branch information
andrsd committed Apr 17, 2024
1 parent 4ea065d commit 9ab654f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmake/FindMETAL.cmake
Expand Up @@ -20,7 +20,5 @@ if(METAL_FOUND AND NOT TARGET OCCA::depends::METAL)
# Create our wrapper imported target
# Put it in the OCCA namespace to make it clear that we created it.
add_library(OCCA::depends::METAL INTERFACE IMPORTED)
set_target_properties(OCCA::depends::METAL PROPERTIES
INTERFACE_LINK_LIBRARIES "${METAL_LIBRARY} ${CORE_SERVICES} ${APP_KIT}"
)
target_link_libraries(OCCA::depends::METAL INTERFACE ${METAL_LIBRARY} ${CORE_SERVICES} ${APP_KIT})
endif()

0 comments on commit 9ab654f

Please sign in to comment.