Removed missed unnecessary BUILD_TESTS check.

This commit is contained in:
Festus Hagen 2015-05-20 15:34:05 -04:00
parent e44cba56b5
commit abc5743222

View File

@ -234,7 +234,7 @@ endif()
if(BUILD_TESTS)
find_package(CppUnit)
if(NOT CppUnit_FOUND AND BUILD_TESTS)
if(NOT CppUnit_FOUND)
message(STATUS "CppUnit not found, disabling tests.")
set(BUILD_TESTS OFF)
endif()