summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-26 14:59:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-26 14:59:37 +0200
commitcd0660512276d935b7e5e6f5ebae538f64e16f3f (patch)
tree59c1b3aabb8c58fe28c1300ec6b3e5b7730e7dad
parente8461507e9b50f19976d218427915f05c18e6729 (diff)
Fix: wrong if closure...
Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--cmake/cmake.d/01-build_options.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/01-build_options.cmake b/cmake/cmake.d/01-build_options.cmake
index 112a1b2..04c53c7 100644
--- a/cmake/cmake.d/01-build_options.cmake
+++ b/cmake/cmake.d/01-build_options.cmake
@@ -104,7 +104,7 @@ IF(HAVE_LIBEFENCE)
SET(libefence_LIBRARIES "-lefence")
list (APPEND link_libraries ${libefence_LIBRARIES})
ENDIF(HAVE_LIBEFENCE)
-ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
+ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG AND USE_EFENCE)
# set default include directories
INCLUDE_DIRECTORIES(${EXTRA_INCLUDE_DIRS})