diff options
Diffstat (limited to 'template/etc/macros.cmake')
-rw-r--r-- | template/etc/macros.cmake | 2 |
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) |