1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

cmake: Avoid continue, apparently that's new

llvm-svn: 268812
This commit is contained in:
Justin Bogner 2016-05-06 22:22:25 +00:00
parent ffb35ca97a
commit 9040306a47

View File

@ -1059,15 +1059,14 @@ function(add_lit_testsuites project directory)
set(cur_to_process ${to_process})
set(to_process)
foreach(lit_suite ${cur_to_process})
if(NOT IS_DIRECTORY ${lit_suite})
continue()
endif()
if(IS_DIRECTORY ${lit_suite})
string(FIND ${lit_suite} Inputs is_inputs)
if (is_inputs EQUAL -1)
list(APPEND lit_suites "${lit_suite}")
file(GLOB subdirs ${lit_suite}/*)
list(APPEND to_process ${subdirs})
endif()
endif()
endforeach()
endwhile()