summaryrefslogtreecommitdiffstats
path: root/utils/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r--utils/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)