From ca25e0d2b7dc9d5a06be22b9b02747209abb04a3 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Fri, 25 Oct 2024 21:08:26 +0300 Subject: Fix build. Set ImageMagick definitions in makefile. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ceee308..cc4201f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,8 @@ install (TARGETS ${PROJECT_NAME}_static) # Tools (C++ compiler) if (BUILD_TOOLS) # Dependencies + add_definitions(-DMAGICKCORE_QUANTUM_DEPTH=16) + add_definitions(-DMAGICKCORE_HDRI_ENABLE=0) find_library(SNDFILE sndfile) find_package(ImageMagick COMPONENTS Magick++) -- cgit v1.2.3