From 2cbcd60a4517e0f1d019cd1d73aec0decd0c7107 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sun, 8 Oct 2023 23:13:48 -0600 Subject: [PATCH] Remove redundant link library Clang was warning about this ld: warning: ignoring duplicate libraries: 'lib/libsfml-system-s-d.a' --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0a88cf991..0f9ba8e65 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -51,7 +51,7 @@ set(SYSTEM_SRC System/Vector2.test.cpp System/Vector3.test.cpp ) -sfml_add_test(test-sfml-system "${SYSTEM_SRC}" SFML::System) +sfml_add_test(test-sfml-system "${SYSTEM_SRC}" "") target_compile_definitions(test-sfml-system PRIVATE EXPECTED_SFML_VERSION_MAJOR=${SFML_VERSION_MAJOR} EXPECTED_SFML_VERSION_MINOR=${SFML_VERSION_MINOR}