[qt_common] Fix system frozen target (#2758)

When installled the frozen package exports `frozen::frozen-headers`, not
`frozen::frozen` target.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>

Reviewed-on: eden-emu/eden#2758
Co-authored-by: Marcin Serwin <marcin@serwin.dev>
Co-committed-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin 2025-10-17 20:09:15 +02:00 committed by crueter
parent 3d6a784e62
commit 171a1d23e4
Signed by untrusted user: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -66,8 +66,10 @@ target_compile_definitions(qt_common PUBLIC
add_subdirectory(externals) add_subdirectory(externals)
find_package(frozen REQUIRED)
target_link_libraries(qt_common PRIVATE core Qt6::Core Qt6::Concurrent SimpleIni::SimpleIni QuaZip::QuaZip) target_link_libraries(qt_common PRIVATE core Qt6::Core Qt6::Concurrent SimpleIni::SimpleIni QuaZip::QuaZip)
target_link_libraries(qt_common PUBLIC frozen::frozen) target_link_libraries(qt_common PUBLIC frozen::frozen-headers)
if (NOT APPLE AND ENABLE_OPENGL) if (NOT APPLE AND ENABLE_OPENGL)
target_compile_definitions(qt_common PUBLIC HAS_OPENGL) target_compile_definitions(qt_common PUBLIC HAS_OPENGL)