[llvm][CMake] Move `split-file` from tools to utils

It fittingly already makes use of add_llvm_utility during target creation and is usually only used in conjunction with other (test) related utilities such as FileCheck and not, which are already in utils.

Differential Revision: https://reviews.llvm.org/D131713
This commit is contained in:
Markus Böck 2022-08-12 14:16:29 +02:00
parent 3d53ecfc19
commit 3e119c0efd
4 changed files with 1 additions and 0 deletions

View File

@ -1140,6 +1140,7 @@ if( LLVM_INCLUDE_UTILS )
add_subdirectory(utils/not)
add_subdirectory(utils/UnicodeData)
add_subdirectory(utils/yaml-bench)
add_subdirectory(utils/split-file)
else()
if ( LLVM_INCLUDE_TESTS )
message(FATAL_ERROR "Including tests when not building utils will not work.