mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
fix build errors
This commit is contained in:
@@ -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,4 +1,4 @@
|
||||
#ifdef Q_OS_MACOS
|
||||
#ifdef __APPLE__
|
||||
#include "diskusagebar.h"
|
||||
#include "platform/macos.h"
|
||||
|
||||
|
||||
+2
-4
@@ -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__
|
||||
Reference in New Issue
Block a user