mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Remove mac extras
This commit is contained in:
parent
7029547647
commit
770f79978a
1 changed files with 1 additions and 7 deletions
|
@ -266,10 +266,6 @@ else()
|
||||||
find_package(Qt6Keychain REQUIRED)
|
find_package(Qt6Keychain REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
|
||||||
find_package(Qt6MacExtras REQUIRED)
|
|
||||||
endif(APPLE)
|
|
||||||
|
|
||||||
if (Qt6Widgets_FOUND)
|
if (Qt6Widgets_FOUND)
|
||||||
if (Qt6Widgets_VERSION VERSION_LESS 6.5.0)
|
if (Qt6Widgets_VERSION VERSION_LESS 6.5.0)
|
||||||
message(STATUS "Qt version ${Qt6Widgets_VERSION}")
|
message(STATUS "Qt version ${Qt6Widgets_VERSION}")
|
||||||
|
@ -695,9 +691,7 @@ set_target_properties(nheko
|
||||||
CMAKE_SKIP_INSTALL_RPATH TRUE
|
CMAKE_SKIP_INSTALL_RPATH TRUE
|
||||||
AUTOMOC ON)
|
AUTOMOC ON)
|
||||||
|
|
||||||
if(APPLE)
|
if(WIN32)
|
||||||
target_link_libraries (nheko PRIVATE Qt6::MacExtras)
|
|
||||||
elseif(WIN32)
|
|
||||||
target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN)
|
target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_compile_options(nheko PUBLIC "/Zc:__cplusplus")
|
target_compile_options(nheko PUBLIC "/Zc:__cplusplus")
|
||||||
|
|
Loading…
Reference in a new issue