From ceec0d858cf36d4d8d1ad57c9c740ec99d8d5c43 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Wed, 14 Aug 2024 12:23:09 -0600 Subject: [PATCH] Reinstate the -o option; Try to minimize changes to just the argument ordering. --- source/adios2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adios2/CMakeLists.txt b/source/adios2/CMakeLists.txt index 1bebf6cc29..0b37f5f9a5 100644 --- a/source/adios2/CMakeLists.txt +++ b/source/adios2/CMakeLists.txt @@ -151,7 +151,7 @@ if (ADIOS2_HAVE_Derived_Variable) FLEX_TARGET(MyScanner toolkit/derived/parser/lexer.l ${CMAKE_CURRENT_BINARY_DIR}/lexer.cpp - COMPILE_FLAGS "--header-file=lexer.h" + COMPILE_FLAGS "-o lexer.cpp --header-file=lexer.h" DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/lexer.h) ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser) endif()