using native popup

Change-Id: I60bab21ade6952a0fbd36068655260d689439f47
This commit is contained in:
石博文 2018-03-19 19:22:23 +08:00
parent 6510078504
commit 6e97aa0f6f
Notes: gerrit 2018-03-20 02:03:18 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Verified+1: <zhaofangfang@linuxdeepin.com>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Tue, 20 Mar 2018 02:03:18 +0000
Reviewed-on: https://cr.deepin.io/32802
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -11,6 +11,10 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_FLAGS "-g -Wall")
if (DEFINED DOCK_TRAY_USE_NATIVE_POPUP)
add_definitions(-DDOCK_TRAY_USE_NATIVE_POPUP)
endif ()
if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug"))
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")