diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 22a9bb1..07b1710 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -318,7 +318,7 @@ if(DEPENDS AND UNIX AND NOT APPLE) endif() if(STACK_TRACE AND CMAKE_C_COMPILER_ID STREQUAL "GNU") - target_link_libraries(feather -rdynamic) + target_link_libraries(feather PRIVATE -rdynamic) endif() if(DEPENDS)