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

cmake needs update to make it more robust #13

Open
qingfengxia opened this issue Oct 19, 2020 · 1 comment
Open

cmake needs update to make it more robust #13

qingfengxia opened this issue Oct 19, 2020 · 1 comment

Comments

@qingfengxia
Copy link

qingfengxia commented Oct 19, 2020

  1. to help cmake to find MOAB installation folder
    export LD_LIBRARY_PATH=/opt/moab/lib is not a cmake way to help detect MOAB
    export MOAB_ROOT=/opt/moab/
    cmake .. -DCMAKE_INSTALL_PREFIX=..

  2. some other missing dep is not documented, such as gmp, mpfr, but it be installed toghether with some other lib.

  3. On some linux, LD_LIBRARY_PATH does not help to find library on standard location, such as export LIBRARY_PATH=$LIBRARY_PATH:/home/qxia/Repositories/dagmc_bld/MOAB/lib does not help on link time, but
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/qxia/Repositories/dagmc_bld/MOAB/lib help in link time

I had fix, shall I send PR

@makeclean
Copy link
Owner

the new standards for cmake tell you it should be -DMOAB_dir I think

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

2 participants