aboutsummaryrefslogtreecommitdiffstats
path: root/FindRagel.cmake
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-14 22:40:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-14 22:40:31 +0100
commit1c356c51a97e023e8fc936d46477233e5d65cc5b (patch)
tree8a59d0a13351d701bebe327cde34e6ebdcfd3c09 /FindRagel.cmake
parent1de3b213131faf3e4cf4864f93e52739f4865e13 (diff)
downloadrspamd-1c356c51a97e023e8fc936d46477233e5d65cc5b.tar.gz
rspamd-1c356c51a97e023e8fc936d46477233e5d65cc5b.zip
[Minor] Add a simple received parser benchmark routine
Diffstat (limited to 'FindRagel.cmake')
-rw-r--r--FindRagel.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/FindRagel.cmake b/FindRagel.cmake
index b6f7fc2e1..a058b7fb1 100644
--- a/FindRagel.cmake
+++ b/FindRagel.cmake
@@ -74,7 +74,7 @@ ${RAGEL_version_error}")
"INPUTS;DEPENDS;COMPILE_FLAGS" ${ARGN})
add_custom_command(OUTPUT ${RAGEL_OUTPUT}
COMMAND ${RAGEL_EXECUTABLE}
- ARGS ${RAGEL_EXECUTABLE_opts} -o${RAGEL_OUTPUT} ${RAGEL_INPUTS}
+ ARGS ${RAGEL_COMPILE_FLAGS} -o${RAGEL_OUTPUT} ${RAGEL_INPUTS}
DEPENDS ${RAGEL_INPUTS} ${RAGEL_DEPENDS}
COMMENT
"[RAGEL][${Name}] Compiling state machine with Ragel ${RAGEL_VERSION}"
@@ -83,7 +83,7 @@ ${RAGEL_version_error}")
set(RAGEL_${Name}_DEFINED TRUE)
set(RAGEL_${Name}_OUTPUTS ${RAGEL_OUTPUT})
set(RAGEL_${Name}_INPUT ${RAGEL_INPUTS})
- set(RAGEL_${Name}_COMPILE_FLAGS ${RAGEL_EXECUTABLE_opts})
+ set(RAGEL_${Name}_COMPILE_FLAGS ${RAGEL_COMPILE_FLAGS})
endmacro()
endif()