mirror of
https://github.com/taglib/taglib.git
synced 2026-01-06 16:43:02 -05:00
Disable tests with a shared library.
This commit is contained in:
@ -223,7 +223,7 @@ if(NOT ZLIB_SOURCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTS)
|
||||
if(BUILD_TESTS AND NOT BUILD_SHARED_LIBS)
|
||||
find_package(CppUnit)
|
||||
if(NOT CppUnit_FOUND)
|
||||
message(STATUS "CppUnit not found, disabling tests.")
|
||||
|
||||
Reference in New Issue
Block a user