Add support for vcpkg (#3742)

This commit is contained in:
Seth Flynn 2025-07-09 06:50:41 -04:00 committed by GitHub
commit af73cfa20f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 66 additions and 1 deletions

View file

@ -1309,12 +1309,16 @@ target_link_libraries(Launcher_logic
Launcher_murmur2
nbt++
${ZLIB_LIBRARIES}
tomlplusplus::tomlplusplus
qdcss
BuildConfig
Qt${QT_VERSION_MAJOR}::Widgets
qrcodegenerator
)
if(TARGET PkgConfig::tomlplusplus)
target_link_libraries(Launcher_logic PkgConfig::tomlplusplus)
else()
target_link_libraries(Launcher_logic tomlplusplus::tomlplusplus)
endif()
if (UNIX AND NOT CYGWIN AND NOT APPLE)
target_link_libraries(Launcher_logic