CMakeLists.txt 561 Bytes
Newer Older
1
2
SET(PREFIX_ext_gmic "${EXTPREFIX}" )

Amy spark's avatar
Amy spark committed
3
ExternalProject_Add( ext_gmic
4
    DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR}
Amy spark's avatar
Amy spark committed
5
6
    URL https://files.kde.org/krita/build/dependencies/gmic-3.1.4.3-patched.tar.gz
    URL_HASH SHA256=5d27b697caf2f650173d25de14f9eea4434a5f0aab3a70a79fb8df6f2d21cec8
Amy spark's avatar
Amy spark committed
7

Amy spark's avatar
Amy spark committed
8
    SOURCE_SUBDIR gmic-qt
9
10
11

    INSTALL_DIR ${PREFIX_ext_gmic}

12
    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${PREFIX_ext_gmic} -DGMIC_QT_HOST=krita-plugin -DENABLE_SYSTEM_GMIC=FALSE -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE} ${GLOBAL_PROFILE}
13
    LIST_SEPARATOR "|"
14
15
16

    UPDATE_COMMAND ""
)