externals: allow user to use system fmt (#7052)

This commit is contained in:
Castor215
2023-10-08 00:00:02 +01:00
committed by GitHub
parent 2961dcf0fd
commit f5b8888686
4 changed files with 12 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ endif()
create_target_directory_groups(citra_common)
target_link_libraries(citra_common PUBLIC fmt::fmt library-headers microprofile Boost::boost Boost::serialization Boost::iostreams)
target_link_libraries(citra_common PUBLIC fmt library-headers microprofile Boost::boost Boost::serialization Boost::iostreams)
target_link_libraries(citra_common PRIVATE libzstd_static)
if ("x86_64" IN_LIST ARCHITECTURE)

View File

@@ -479,7 +479,7 @@ create_target_directory_groups(citra_core)
target_link_libraries(citra_core PUBLIC citra_common PRIVATE audio_core network video_core)
target_link_libraries(citra_core PRIVATE Boost::boost Boost::serialization Boost::iostreams httplib)
target_link_libraries(citra_core PUBLIC dds-ktx PRIVATE cryptopp fmt::fmt lodepng open_source_archives)
target_link_libraries(citra_core PUBLIC dds-ktx PRIVATE cryptopp fmt lodepng open_source_archives)
if (ENABLE_WEB_SERVICE)
target_link_libraries(citra_core PRIVATE web_service)