diff --git a/Meta/CMake/skia.cmake b/Meta/CMake/skia.cmake index 6b3c172d610..3683bc9b5dc 100644 --- a/Meta/CMake/skia.cmake +++ b/Meta/CMake/skia.cmake @@ -6,8 +6,8 @@ find_package(unofficial-skia CONFIG) if(unofficial-skia_FOUND) set(SKIA_TARGET unofficial::skia::skia) if (HAS_FONTCONFIG) - set(CMAKE_CXX_LINK_GROUP_USING_no_as_needed_SUPPORTED TRUE) - set(CMAKE_CXX_LINK_GROUP_USING_no_as_needed "LINKER:--push-state,--no-as-needed" "LINKER:--pop-state") + set(CMAKE_LINK_GROUP_USING_no_as_needed_SUPPORTED TRUE) + set(CMAKE_LINK_GROUP_USING_no_as_needed "LINKER:--push-state,--no-as-needed" "LINKER:--pop-state") set_property(TARGET unofficial::skia::skia APPEND PROPERTY INTERFACE_LINK_LIBRARIES "$") endif() else()