mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 04:54:19 -04: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