From 6b810ae67935e332cb8427fa41bc2ccbc374d448 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 26 Sep 2017 14:59:37 +0200 Subject: Fix: wrong if closure... Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e Signed-off-by: Romain Forlot --- cmake/cmake.d/01-build_options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- cgit 1.2.3-korg