Revert "Fix CMake warning in CFI tests."

This is a bit more complex than that.

llvm-svn: 257201
This commit is contained in:
Evgeniy Stepanov 2016-01-08 19:56:45 +00:00
parent 1dc7dfb9d9
commit 6922ab1ff6
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
add_subdirectory(ubsan)
endif()
# CFI tests require diagnostic mode, which is implemented in UBSan.
if(COMPILER_RT_HAS_CFI AND COMPILER_RT_HAS_UBSAN)
if(COMPILER_RT_HAS_UBSAN)
add_subdirectory(cfi)
endif()
if(COMPILER_RT_HAS_SAFESTACK)