diff --git a/source/adios2/CMakeLists.txt b/source/adios2/CMakeLists.txt index cbc59f5cae..0b37f5f9a5 100644 --- a/source/adios2/CMakeLists.txt +++ b/source/adios2/CMakeLists.txt @@ -150,8 +150,8 @@ if (ADIOS2_HAVE_Derived_Variable) DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/parser.h) FLEX_TARGET(MyScanner toolkit/derived/parser/lexer.l - COMPILE_FLAGS "-o lexer.cpp --header-file=lexer.h" ${CMAKE_CURRENT_BINARY_DIR}/lexer.cpp + COMPILE_FLAGS "-o lexer.cpp --header-file=lexer.h" DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/lexer.h) ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser) endif()