From: Romain Forlot Date: Tue, 26 Sep 2017 12:59:37 +0000 (+0200) Subject: Fix: wrong if closure... X-Git-Tag: 4.99.1~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=cd0660512276d935b7e5e6f5ebae538f64e16f3f;p=staging%2Fxdg-launcher.git Fix: wrong if closure... Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e Signed-off-by: Romain Forlot --- 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})