Skip to content

Commit

Permalink
vk: fix missing lib for backend test
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng authored and pixelflinger committed May 10, 2024
1 parent a0472d3 commit ef15a29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions filament/backend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,10 @@ if (APPLE)
# linker from removing "unused" symbols.
target_link_libraries(backend_test_mac PRIVATE -force_load backend_test)
set_target_properties(backend_test_mac PROPERTIES FOLDER Tests)

# This is needed after XCode 15.3
set_target_properties(backend_test_mac PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
set_target_properties(backend_test_mac PROPERTIES INSTALL_RPATH /usr/local/lib)
endif()
endif()

Expand Down

0 comments on commit ef15a29

Please sign in to comment.