gmic icon indicating copy to clipboard operation
gmic copied to clipboard

gmic-gimp/gmic-qt 3.1.5 can't find GmicConfig.cmake/gmic-config.cmake

Open Schamschula opened this issue 2 years ago • 1 comments

Updating the gmic MacPorts Portfile to version 3.1.5, gmic-lib, gmic, and gmic-clib built fine, but gmic-gimp failed to configure with

Build type is Release
Building for target host application: gimp
CMake Error at CMakeLists.txt:145 (find_package):
  Could not find a package configuration file provided by "Gmic" with any of
  the following names:

    GmicConfig.cmake
    gmic-config.cmake

  Add the installation prefix of "Gmic" to CMAKE_PREFIX_PATH or set
  "Gmic_DIR" to a directory containing one of the above files.  If "Gmic"
  provides a separate development package or SDK, be sure it has been
  installed.

Neither file is created when building gmic itself.

Schamschula avatar Jul 01 '22 10:07 Schamschula

Note: I managed to work around the issue by adding -DENABLE_SYSTEM_GMIC=OFF to the configure arguments. It still correctly pulls in /opt/local/lib/libgmic.1.dylib,

Schamschula avatar Jul 01 '22 21:07 Schamschula