diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8cc5abe8..2a6a42c5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,3 @@ add_executable(vorbis_test util.c util.h write_read.c write_read.h test.c) -target_link_libraries(vorbis_test PRIVATE Vorbis::vorbisenc) +target_link_libraries(vorbis_test PRIVATE Vorbis::vorbisenc $<$:m>) add_test(NAME vorbis_test COMMAND vorbis_test)