fix build errors

This commit is contained in:
uncor3
2025-10-24 02:30:40 -07:00
parent 87454fcb1a
commit 5749b87926
3 changed files with 3 additions and 7 deletions
-2
View File
@@ -212,12 +212,10 @@ if(APPLE)
target_link_libraries(iDescriptor PRIVATE
${CORE_SERVICES_FRAMEWORK})
message(STATUS "Using macOS Bonjour framework for network service discovery")
endif()
elseif (WIN32)
find_path(DNSSD_INCLUDE_DIR dns_sd.h HINTS ${BONJOUR_SDK}/Include )
target_include_directories( iDescriptor PRIVATE ${DNSSD_INCLUDE_DIR} )
message( STATUS "Using Bonjour SDK for network service discovery" )
endif()
else()
target_link_libraries(iDescriptor PRIVATE
PkgConfig::AVAHI_CLIENT
+1 -1
View File
@@ -1,4 +1,4 @@
#ifdef Q_OS_MACOS
#ifdef __APPLE__
#include "diskusagebar.h"
#include "platform/macos.h"
+2 -4
View File
@@ -1,5 +1,4 @@
#ifdef Q_OS_MACOS
#ifdef __APPLE__
#ifndef DISKUSAGEBAR_H
#define DISKUSAGEBAR_H
@@ -32,5 +31,4 @@ private:
};
#endif // DISKUSAGEBAR_H
#endif // Q_OS_MACOS
#endif // __APPLE__