mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix .deb imagemagick dependencies
This commit is contained in:
parent
c364a6527a
commit
f3caf890b0
1
CHANGES
1
CHANGES
|
@ -23,6 +23,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:
|
||||
- GBA Savedata: EEPROM performance fixes
|
||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||
|
|
|
@ -563,11 +563,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