From a430c713e39cb77371d7400156aca7e3d51c6a5f Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 10 Sep 2024 11:33:42 -0600 Subject: [PATCH] Remove redundant definition This is already inherited as a usage requirement when linking to SFML's CMake targets. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f6def8..5d52007 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,6 @@ endif() # find SFML libraries (C++) if(CSFML_LINK_SFML_STATICALLY) set(SFML_STATIC_LIBRARIES ON) - add_definitions(-DSFML_STATIC) endif() set(SFML_MODULES "System") if(CSFML_BUILD_AUDIO)