From d172dc08141734fbb07d8516c726435d48141dc8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 31 Mar 2017 12:49:34 +0100 Subject: [Minor] Some fixes for static build --- utils/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 8bc0ff604..9d42c604e 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -7,7 +7,7 @@ SET(MIMESRC mime_tool.c) MACRO(ADD_UTIL NAME) ADD_EXECUTABLE("${NAME}" "${ARGN}") - IF (ENABLE_HYPERSCAN MATCHES "ON") + IF (USE_CXX_LINKER) SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE CXX) ELSE() SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE C) -- cgit v1.2.3