Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FindJali.cmake #48

Open
junghans opened this issue Jan 12, 2017 · 4 comments
Open

Add FindJali.cmake #48

junghans opened this issue Jan 12, 2017 · 4 comments
Assignees

Comments

@junghans
Copy link
Member

Portage uses Jali, so we should add a find macro to cinch.

@cmsquared: Checking for Mesh.hh and libJali.a, correct?

@cmsquared
Copy link
Member

@raovgarimella might have some suggestions, but I think finding the paths to those two should work.

@raovgarimella
Copy link

There should be a JaliConfig.cmake under the JALI_INSTALL_DIR/lib. If you find that, you should be all set

@junghans
Copy link
Member Author

JaliConfig.cmake only exists if you have Jali, I want to create a macro, which we can already run independently of an actually Jali installation.

@junghans
Copy link
Member Author

If we are using config files only, we will have to deal with an error message like:

CMake Warning at config/packages.cmake:146 (find_package):
  By not providing "FindJali.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Jali", but
  CMake did not find one.

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

    JaliConfig.cmake
    jali-config.cmake

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants