mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix .deb imagemagick dependencies
This commit is contained in:
parent
d4ec95cf4f
commit
11ae4a66bb
1
CHANGES
1
CHANGES
|
@ -10,6 +10,7 @@ Other fixes:
|
|||
- LR35902: Fix disassembly of several CB-prefix instructions
|
||||
- Qt: Fix overrides getting discarded (fixes mgba.io/i/1354)
|
||||
- Qt: Fix saved scale not getting set on resize (fixes mgba.io/i/1074)
|
||||
- CMake: Fix .deb imagemagick dependencies
|
||||
Misc:
|
||||
- Qt: Add missing HEVC NVENC option (fixes mgba.io/i/1323)
|
||||
- Qt: Improve camera initialization
|
||||
|
|
|
@ -559,11 +559,11 @@ if(USE_MAGICK)
|
|||
list(APPEND DEPENDENCY_LIB ${MAGICKWAND_LIBRARIES})
|
||||
string(REGEX MATCH "^[0-9]+\\.[0-9]+" MAGICKWAND_VERSION_PARTIAL ${MagickWand_VERSION})
|
||||
string(REGEX MATCH "^[0-9]+" MAGICKWAND_VERSION_MAJOR ${MagickWand_VERSION})
|
||||
if(${MAGICKWAND_VERSION_PARTIAL} EQUAL "6.7")
|
||||
if(${MAGICKWAND_VERSION_PARTIAL} STREQUAL "6.7")
|
||||
set(MAGICKWAND_DEB_VERSION "5")
|
||||
elseif(${MagickWand_VERSION} EQUAL "6.9.10")
|
||||
elseif(${MagickWand_VERSION} STREQUAL "6.9.10")
|
||||
set(MAGICKWAND_DEB_VERSION "-6.q16-6")
|
||||
elseif(${MagickWand_VERSION} EQUAL "6.9.7")
|
||||
elseif(${MagickWand_VERSION} STREQUAL "6.9.7")
|
||||
set(MAGICKWAND_DEB_VERSION "-6.q16-3")
|
||||
else()
|
||||
set(MAGICKWAND_DEB_VERSION "-6.q16-2")
|
||||
|
|
Loading…
Reference in New Issue