From 1c4aba1d43daf3d3e6dc32b19e16c047d6256b1b Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 18 Apr 2023 22:58:43 -0600 Subject: [PATCH] Always specify link visibility --- cmake/Macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake index 91e8ac4..57b7a16 100644 --- a/cmake/Macros.cmake +++ b/cmake/Macros.cmake @@ -61,7 +61,7 @@ macro(csfml_add_library target) endif() # link the target to its external dependencies (C++ SFML libraries) - target_link_libraries(${target} ${THIS_DEPENDS}) + target_link_libraries(${target} PRIVATE ${THIS_DEPENDS}) # build dylibs if(SFML_OS_MACOSX AND BUILD_SHARED_LIBS)