mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): disable linux specific stuff on windows
also fix the output formatting of used libraries
This commit is contained in:
parent
7849186699
commit
a9d2b03c7c
|
@ -460,7 +460,7 @@ endif()
|
|||
|
||||
add_definitions(-DQT_MESSAGELOGCONTEXT=1)
|
||||
|
||||
if (NOT DEFINED ENABLE_STATUSNOTIFIER)
|
||||
if (NOT DEFINED ENABLE_STATUSNOTIFIER AND UNIX AND NOT APPLE)
|
||||
set(ENABLE_STATUSNOTIFIER True)
|
||||
endif()
|
||||
|
||||
|
@ -488,7 +488,7 @@ if(AVFOUNDATION_FOUND)
|
|||
src/platform/camera/avfoundation.h)
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED ENABLE_APPINDICATOR)
|
||||
if (NOT DEFINED ENABLE_APPINDICATOR AND UNIX AND NOT APPLE)
|
||||
set(ENABLE_APPINDICATOR False)
|
||||
endif()
|
||||
|
||||
|
@ -503,7 +503,7 @@ if(${ENABLE_APPINDICATOR})
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED ENABLE_GTK_SYSTRAY)
|
||||
if (NOT DEFINED ENABLE_GTK_SYSTRAY AND UNIX AND NOT APPLE)
|
||||
set(ENABLE_GTK_SYSTRAY True)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -74,10 +74,10 @@ function(search_dependency pkg)
|
|||
message(STATUS "${pkg} not found")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS ${pkg} " LIBRARY_DIRS: " ${${pkg}_LIBRARY_DIRS} )
|
||||
message(STATUS ${pkg} " INCLUDE_DIRS: " ${${pkg}_INCLUDE_DIRS} )
|
||||
message(STATUS ${pkg} " CFLAGS_OTHER: " ${${pkg}_CFLAGS_OTHER} )
|
||||
message(STATUS ${pkg} " LIBRARIES: " ${${pkg}_LIBRARIES} )
|
||||
message(STATUS ${pkg} " LIBRARY_DIRS: " "${${pkg}_LIBRARY_DIRS}" )
|
||||
message(STATUS ${pkg} " INCLUDE_DIRS: " "${${pkg}_INCLUDE_DIRS}" )
|
||||
message(STATUS ${pkg} " CFLAGS_OTHER: " "${${pkg}_CFLAGS_OTHER}" )
|
||||
message(STATUS ${pkg} " LIBRARIES: " "${${pkg}_LIBRARIES}" )
|
||||
|
||||
link_directories(${${pkg}_LIBRARY_DIRS})
|
||||
include_directories(${${pkg}_INCLUDE_DIRS})
|
||||
|
|
Loading…
Reference in New Issue
Block a user