From: tobtoht Date: Fri, 5 Jan 2024 14:34:46 +0000 (+0100) Subject: cmake: fix target_link_libraries keyword signature X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=8509924ebd72fbafaa21ced4c3003360dcfb579c;p=gamesguru%2Ffeather.git cmake: fix target_link_libraries keyword signature --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 22a9bb12..07b1710f 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)