Merge pull request #1491 from Ubiquite/patch-1

enable CppUnit with ENABLE_CPPUNIT
This commit is contained in:
Günter Obiltschnig 2016-11-18 22:48:23 +01:00 committed by GitHub
commit c335facd3e

View File

@ -143,7 +143,7 @@ set(Poco_COMPONENTS "")
# Pthreads/threads support
find_package(Threads REQUIRED)
if (ENABLE_TESTS)
if (ENABLE_TESTS OR ENABLE_CPPUNIT)
add_subdirectory(CppUnit)
list(APPEND Poco_COMPONENTS "CppUnit")
endif ()