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>2018-10-15 18:22:47 +0200
commit6b810ae67935e332cb8427fa41bc2ccbc374d448 (patch)
treebebe7f52dd211a959dc61093c114504594a61c03
parente08c9b3a5681cd56293f2245ac049525c5a69b0e (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})