summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-03 11:03:21 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:21:42 +0200
commit93a209b39c867e24a1df182079918c8dfa25d9d1 (patch)
treec05d57a13ac176d6616e3ddb99079eb1fb122f8f
parent9beda0810de6a48ba40b3ccb8297f4e84f5dd67e (diff)
Fix: efence library inclusion
Change-Id: I51bc49cb663c61e23407e7da9bc4294344c0e4c0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--template/etc/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/etc/macros.cmake b/template/etc/macros.cmake
index 4c2b64c..2c53983 100644
--- a/template/etc/macros.cmake
+++ b/template/etc/macros.cmake
@@ -197,7 +197,7 @@ CHECK_LIBRARY_EXISTS(efence malloc "" HAVE_LIBEFENCE)
IF(HAVE_LIBEFENCE)
MESSAGE(STATUS "Linking with ElectricFence for debugging purposes...")
SET(libefence_LIBRARIES "-lefence")
- list (APPEND link_libraries libefence_LIBRARIES})
+ list (APPEND link_libraries ${libefence_LIBRARIES})
ENDIF(HAVE_LIBEFENCE)
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)