Browse Source
[qt_common] Fix system frozen target
When installled the frozen package exports `frozen::frozen-headers`, not
`frozen::frozen` target.
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
pull/2758/head
Marcin Serwin
5 months ago
No known key found for this signature in database
GPG Key ID: DACFAC4EA0B194E0
1 changed files with
3 additions and
1 deletions
-
src/qt_common/CMakeLists.txt
|
|
@ -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) |
|
|
|