mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/log4cxx: fix ENABLE_ESMTP flag
commitcf686670b9introduced a patch that was later included in a release which made the usage of libesmtp configurable. Later the switch was moved to the main CMakeLists.mk [0]. while the patch introduced the build flag LOG4CXX_ENABLE_ESMTP the change to the .mk file used LOG4CXX_ENABLE_LIBESMTP. So correct this. Fixes: CMake Warning: Manually-specified variables were not used by the project: LOG4CXX_ENABLE_LIBESMTP [0] https://github.com/apache/logging-log4cxx/blob/rel/v1.3.1/CMakeLists.txt#L93 Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit70a16560b2) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
ffdaa44c1f
commit
51237f6cf2
@@ -23,10 +23,10 @@ LOG4CXX_DEPENDENCIES += boost
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
|
||||
LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_LIBESMTP=ON
|
||||
LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_ESMTP=ON
|
||||
LOG4CXX_DEPENDENCIES += libesmtp
|
||||
else
|
||||
LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_LIBESMTP=OFF
|
||||
LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_ESMTP=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||
|
||||
Reference in New Issue
Block a user