aboutsummaryrefslogtreecommitdiffstats
path: root/FindRagel.cmake
diff options
context:
space:
mode:
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()