diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0dbae17ea2..c69debb9c0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -12,6 +12,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GN endif() add_library(testframework STATIC ${CMAKE_BINARY_DIR}/generated/test-config.cc test_utils.cc catch_amalgamated.cpp) +target_link_libraries(testframework PRIVATE heif) macro(add_libheif_test TEST_FILE) set(TEST_NAME ${TEST_FILE})