Skip to content

Commit

Permalink
Merge branch 'qt-6.8-build-fix' into feature/macox-network-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavyaroslav committed Feb 12, 2025
2 parents b348ab7 + 7261029 commit 02d4b47
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ add_definitions(-DPROD_PROXY_STORAGE_KEY="$ENV{PROD_PROXY_STORAGE_KEY}")
add_definitions(-DDEV_AGW_PUBLIC_KEY="$ENV{DEV_AGW_PUBLIC_KEY}")
add_definitions(-DDEV_AGW_ENDPOINT="$ENV{DEV_AGW_ENDPOINT}")

if(IOS OR MACOS_NE)
set(PACKAGES ${PACKAGES} Multimedia)
endif()

#Macos Network Extension doesn't need Widgets
if(WIN32 OR (APPLE AND NOT IOS AND NOT MACOS_NE) OR (LINUX AND NOT ANDROID))
set(PACKAGES ${PACKAGES} Widgets)
endif()
Expand All @@ -48,10 +43,6 @@ set(LIBS ${LIBS}
Qt6::Core5Compat Qt6::Concurrent
)

if(IOS OR MACOS_NE)
set(LIBS ${LIBS} Qt6::Multimedia)
endif()

if(WIN32 OR (APPLE AND NOT IOS AND NOT MACOS_NE) OR (LINUX AND NOT ANDROID))
message("Run this block when MACOS_NE is not defined or set to FALSE")
set(LIBS ${LIBS} Qt6::Widgets)
Expand Down

0 comments on commit 02d4b47

Please sign in to comment.