mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
Merge pull request #1491 from Ubiquite/patch-1
enable CppUnit with ENABLE_CPPUNIT
This commit is contained in:
commit
c335facd3e
@ -143,7 +143,7 @@ set(Poco_COMPONENTS "")
|
|||||||
# Pthreads/threads support
|
# Pthreads/threads support
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS OR ENABLE_CPPUNIT)
|
||||||
add_subdirectory(CppUnit)
|
add_subdirectory(CppUnit)
|
||||||
list(APPEND Poco_COMPONENTS "CppUnit")
|
list(APPEND Poco_COMPONENTS "CppUnit")
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user