diff --git a/CMakeLists.txt b/CMakeLists.txt index d208ea282..9f8c914dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ endif() file(GLOB INTERFACES "interfaces/*.h") -add_compile_definitions(USE_AM) +#add_compile_definitions(USE_AM) #因为单元测试需要直接测试源代码,而主程序代码中include的单元使用了相对路径 #单元测试的CMakeLists和主程序的CMakeLists路径不同,编译单元测试时会提示找不到文件