Skip to content

Commit 5739522

Browse files
committed
Add PUBLIC for target_link_libraries
Required by cmake 4, same problem as in go4
1 parent a48d03f commit 5739522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/DabcMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function(DABC_LINK_LIBRARY libname)
7979
target_compile_definitions(${libname} PRIVATE ${ARG_DEFINITIONS}
8080
${DABC_DEFINES})
8181

82-
target_link_libraries(${libname} ${ARG_LIBRARIES})
82+
target_link_libraries(${libname} PUBLIC ${ARG_LIBRARIES})
8383

8484
if(PROJECT_NAME STREQUAL DABC)
8585
list(APPEND ARG_DEPENDENCIES copy_headers)

0 commit comments

Comments
 (0)