mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
feat: 开启AM宏
开启AM宏定义 清除一个未定义的变量,解决编译报错 Log: Influence: 无 Task: https://pms.uniontech.com/task-view-162227.html Change-Id: I5d94d7d6176a2bac663d5bedf07429fdbbd85279
This commit is contained in:
parent
9c1eb32e24
commit
830e0a7b2f
@ -57,7 +57,7 @@ endif()
|
||||
|
||||
file(GLOB INTERFACES "interfaces/*.h")
|
||||
|
||||
#add_compile_definitions(USE_AM)
|
||||
add_compile_definitions(USE_AM)
|
||||
|
||||
#因为单元测试需要直接测试源代码,而主程序代码中include的单元使用了相对路径
|
||||
#单元测试的CMakeLists和主程序的CMakeLists路径不同,编译单元测试时会提示找不到文件
|
||||
|
@ -86,7 +86,6 @@ public:
|
||||
: CurrentWindow(0)
|
||||
, IsActive(false)
|
||||
, IsDocked(false)
|
||||
, mode(0)
|
||||
{}
|
||||
|
||||
// begin member variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user