diff --git a/project/bundles/3rdparty/ext_gmicqt/CMakeLists.txt b/project/bundles/3rdparty/ext_gmicqt/CMakeLists.txt index bf889bafac..be8b24ff23 100644 --- a/project/bundles/3rdparty/ext_gmicqt/CMakeLists.txt +++ b/project/bundles/3rdparty/ext_gmicqt/CMakeLists.txt @@ -1,66 +1,66 @@ # Script to build GMic-Qt for digiKam bundle. # # Copyright (c) 2015-2020 by Gilles Caulier # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. # set(PREFIX_ext_gmicqt "${EXTPREFIX}") -if (APPLE) - set(FFTW_SUPPORT OFF) -else() +#if (APPLE) +# set(FFTW_SUPPORT OFF) +#else() set(FFTW_SUPPORT ON) -endif() +#endif() set(GmicQt_Conf -DGMIC_QT_HOST=digikam -DENABLE_ASAN=OFF -DENABLE_FFTW3=${FFTW_SUPPORT} ${GLOBAL_PROFILE} ) JoinListAsString("${GmicQt_Conf}" " " BASH_OPTIONS) # Download and build gmic-qt if (MINGW) ExternalProject_Add(ext_gmic_qt DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} GIT_REPOSITORY https://github.com/cgilles/gmic-qt.git GIT_SUBMODULES gmic - #GIT_TAG ${GMIC_VERSION} + GIT_SUBMODULES CImg SOURCE_DIR gmic-qt CONFIGURE_COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/../../../../bootstrap.mxe /. && /bootstrap.mxe ${MXE_BUILDROOT} RelWithDebInfo ${BASH_OPTIONS} BUILD_COMMAND cd /build.mxe && $(MAKE) INSTALL_COMMAND cd /build.mxe && make install/fast BUILD_IN_SOURCE 1 UPDATE_COMMAND "" ) else() # MacOS and Linux ExternalProject_Add(ext_gmic_qt DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} GIT_REPOSITORY https://github.com/cgilles/gmic-qt.git GIT_SUBMODULES gmic - #GIT_TAG ${GMIC_VERSION} + GIT_SUBMODULES CImg SOURCE_DIR gmic-qt INSTALL_DIR ${PREFIX_ext_gmicqt} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${PREFIX_ext_gmic} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${GmicQt_Conf} UPDATE_COMMAND "" ) endif()