Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[qt_common] Fix system frozen target (#2758)

Marcin Serwin171a1d23e4d1
diff --git a/src/qt_common/CMakeLists.txt b/src/qt_common/CMakeLists.txt
index a8206b8345..02103100f1 100644
--- a/src/qt_common/CMakeLists.txt
+++ b/src/qt_common/CMakeLists.txt
@@ -66,8 +66,10 @@ target_compile_definitions(qt_common PUBLIC
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 PUBLIC frozen::frozen)
+target_link_libraries(qt_common PUBLIC frozen::frozen-headers)
if (NOT APPLE AND ENABLE_OPENGL)
target_compile_definitions(qt_common PUBLIC HAS_OPENGL)