CMake: Use targets for all optionally-external dependencies

This commit is contained in:
TellowKrinkle
2023-04-16 00:57:34 -05:00
parent 63090d411d
commit 5b10a80401
25 changed files with 172 additions and 133 deletions

View File

@ -144,16 +144,17 @@ endif()
target_link_libraries(common
PUBLIC
${CMAKE_THREAD_LIBS_INIT}
enet
enet::enet
fmt::fmt
${MBEDTLS_LIBRARIES}
minizip-ng
MbedTLS::mbedtls
minizip::minizip
sfml-network
PRIVATE
${CURL_LIBRARIES}
CURL::libcurl
FatFs
Iconv::Iconv
${spng_target}
spng::spng
${VTUNE_LIBRARIES}
)