diff --git a/CMakeLists.txt b/CMakeLists.txt index a208f69..4214aef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,12 @@ set(AOS_CORE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/aos_core_common_cpp/ex set(AOS_CORE_COMMON_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/aos_core_common_cpp) set(AOS_STACK_USAGE 4096) +# ###################################################################################################################### +# Defines +# ###################################################################################################################### + +add_definitions(-include ${CMAKE_CURRENT_SOURCE_DIR}/src/config.hpp) + # ###################################################################################################################### # External project options # ###################################################################################################################### diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6a32628..491e4c7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,12 +6,6 @@ set(TARGET aos_servicemanager) -# ###################################################################################################################### -# Defines -# ###################################################################################################################### - -add_definitions(-include config.hpp) - # ###################################################################################################################### # Includes # ######################################################################################################################