From 5991b4817ec87b6f40055bfd6a05d685c663c39f Mon Sep 17 00:00:00 2001 From: SangYoun Kwak Date: Fri, 17 Mar 2023 18:47:31 +0900 Subject: [PATCH] Remove duplicated definition in CMakeLists.txt files In CMakeLists.txt, ENABLE_DLOG was defined but it is pointless since another src/resourced-memory-lmk/CMakeLists.txt defines ENABLE_DLOG as its own name and in the packaging/plugin-backend-resourced-rpi.spec file, there is no definition of ENABLE_DLOG for cmake. Thus, the definition of ENABLE_DLOG in CMakeLists.txt was removed. Signed-off-by: SangYoun Kwak --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6067c2d..76f07ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,4 @@ SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror") -IF(${ENABLE_DLOG}) - ADD_DEFINITIONS("-DENABLE_DLOG") -ENDIF() - ADD_SUBDIRECTORY(src/resourced-memory-lmk) -- 2.34.1