diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5e95851b..a277d225 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -19,8 +19,7 @@ function(add_fmt_test name) set(PEDANTIC_COMPILE_FLAGS ${PEDANTIC_COMPILE_FLAGS} -Wno-weak-vtables) endif () elseif (ADD_FMT_TEST_MODULE) - set(libs test-main test-module) - set_source_files_properties(${name}.cc PROPERTIES OBJECT_DEPENDS test-module) + set(libs test-main) else () set(libs test-main fmt) endif ()