diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-03 04:06:13 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 22:32:13 +0200 |
commit | 770f79978ad953c1ce2f2e1b3079e5ad7c16f250 (patch) | |
tree | 205f42f71d9ed28549a3610af4a54b43f1c78aa8 | |
parent | Link XCB always if X11 support is on (diff) | |
download | nheko-770f79978ad953c1ce2f2e1b3079e5ad7c16f250.tar.xz |
Remove mac extras
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f0aecc8e..d64aa2c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -266,10 +266,6 @@ else() find_package(Qt6Keychain REQUIRED) endif() -if (APPLE) - find_package(Qt6MacExtras REQUIRED) -endif(APPLE) - if (Qt6Widgets_FOUND) if (Qt6Widgets_VERSION VERSION_LESS 6.5.0) message(STATUS "Qt version ${Qt6Widgets_VERSION}") @@ -695,9 +691,7 @@ set_target_properties(nheko CMAKE_SKIP_INSTALL_RPATH TRUE AUTOMOC ON) -if(APPLE) - target_link_libraries (nheko PRIVATE Qt6::MacExtras) -elseif(WIN32) +if(WIN32) target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN) if(MSVC) target_compile_options(nheko PUBLIC "/Zc:__cplusplus") |