Skip to content

Commit

Permalink
[flang][nfc] Simplify CMake
Browse files Browse the repository at this point in the history
Folds `list(APPEND <list> [<element>...])` into the definition of
`<list>`.
  • Loading branch information
banach-space committed Jul 12, 2021
1 parent 5a4e776 commit fe89211
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flang/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ set(FLANG_TEST_PARAMS
flang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py)

set(FLANG_TEST_DEPENDS
f18 FileCheck count not module_files fir-opt
f18 FileCheck count not module_files fir-opt tco
)

list(APPEND FLANG_TEST_DEPENDS tco)

if (FLANG_BUILD_NEW_DRIVER)
list(APPEND FLANG_TEST_DEPENDS flang-new)
endif()
Expand Down

0 comments on commit fe89211

Please sign in to comment.