mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
enable CppUnit with ENABLE_CPPUNIT
I wasted some time because ENABLE_CPPUNIT seems not to enable anything,
This commit is contained in:
parent
c12047b060
commit
3621d49b23
@ -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 ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user