mugiwara-pirate / OpenPEGASUS

0 stars 0 forks source link

CMake issue with gmp #1

Open haochenuw opened 3 years ago

haochenuw commented 3 years ago

It complains about gmp even though it is installed..

CMake Error at CMakeLists.txt:52 (find_package):
  By not providing "FindGMP.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "GMP", but
  CMake did not find one.

  Could not find a package configuration file provided by "GMP" with any of
  the following names:

    GMPConfig.cmake
    gmp-config.cmake

  Add the installation prefix of "GMP" to CMAKE_PREFIX_PATH or set "GMP_DIR"
  to a directory containing one of the above files.  If "GMP" provides a
  separate development package or SDK, be sure it has been installed.
mugiwara-pirate commented 3 years ago

@haochenuw Hi, we added cmake/FindGMP.cmake for finding the path of GMP. Please try on the latest codes.

Thanks.