]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
cmake: fix target_link_libraries keyword signature
authortobtoht <tob@featherwallet.org>
Fri, 5 Jan 2024 14:34:46 +0000 (15:34 +0100)
committertobtoht <tob@featherwallet.org>
Fri, 5 Jan 2024 14:59:10 +0000 (15:59 +0100)
src/CMakeLists.txt

index 22a9bb129aaa505f2d0bb738d88c97d658a51604..07b1710f4f66261799c7aa3e99bb5e59653650bb 100644 (file)
@@ -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)