diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-08-13 20:35:58 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-09-01 14:17:00 +1000 |
commit | 8353970be0992421ed4b8efaacbe71cc5d09f2a0 (patch) | |
tree | e8160e9608c124e56cb708c01aa0c12a14d6e6d5 /CMakeLists.txt | |
parent | f8573a7247e41cb5c1c7d738a898f5a88c40d348 (diff) |
[cmake] Link TARGETS from property to lib correctly
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ca211a874..7dbbc53a89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -385,7 +385,7 @@ core_add_subdirs_from_filelist(${CMAKE_SOURCE_DIR}/cmake/treedata/common/*.txt core_add_optional_subdirs_from_filelist(${CMAKE_SOURCE_DIR}/cmake/treedata/optional/common/*.txt ${CMAKE_SOURCE_DIR}/cmake/treedata/optional/${CORE_SYSTEM_NAME}/*.txt) -target_link_libraries(lib${APP_NAME_LC} PUBLIC ${core_DEPENDS} ${SYSTEM_LDFLAGS} ${DEPLIBS} ${CMAKE_DL_LIBS}) +target_link_libraries(lib${APP_NAME_LC} PUBLIC ${core_DEPENDS} ${SYSTEM_LDFLAGS} ${DEPLIBS} ${CMAKE_DL_LIBS} ${GLOBAL_TARGET_DEPS}) set_target_properties(lib${APP_NAME_LC} PROPERTIES PROJECT_LABEL "xbmc") source_group_by_folder(lib${APP_NAME_LC} RELATIVE ${CMAKE_SOURCE_DIR}/xbmc) if(WIN32) |