diff --git a/src/common/common.cmake b/src/common/common.cmake index 671973579f0bb..d4ba3624d3635 100644 --- a/src/common/common.cmake +++ b/src/common/common.cmake @@ -17,4 +17,8 @@ set(common_SOURCES ${CMAKE_CURRENT_LIST_DIR}/syncfilestatus.cpp ) +if(APPLE) + list(APPEND common_SOURCES ${CMAKE_CURRENT_LIST_DIR}/utility_mac.mm) +endif() + configure_file(${CMAKE_CURRENT_LIST_DIR}/vfspluginmetadata.json.in ${CMAKE_CURRENT_BINARY_DIR}/vfspluginmetadata.json) diff --git a/src/common/utility_mac.cpp b/src/common/utility_mac.mm similarity index 100% rename from src/common/utility_mac.cpp rename to src/common/utility_mac.mm