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

update main CMakeLists to set mpfr optional #302

Merged
merged 5 commits into from
Sep 28, 2022
Merged

Conversation

nkx111
Copy link
Member

@nkx111 nkx111 commented Sep 18, 2022

nkx111 Ok: 55

This PR clarified some optional dependencies for the framework: curl, mpfr, mySQL, and ROOT eve library. Those items will contribute to "REST Features" output when configuring cmake:

...
REST will be installed in: xxxx
===========================================================
System is: Linux
Packages: restG4 
Libraries: RestFramework;RestConnectors;RestDetector;RestGeant4;RestLegacy;RestRaw;RestTrack
Features: Eve;CURL,Garfield
===========================================================

mpfr library is made optional. A new cmake flag is introduced. By setting -DREST_MPFR=OFF one can exclude the compilation of the class TRestComplex. By default mpfr is OFF.

curl library finding is moved to main CMakeLists.

@jgalan jgalan requested review from jgalan and lobis September 22, 2022 07:07
@jgalan jgalan requested review from juanangp and a team September 22, 2022 07:08
@jgalan jgalan merged commit 9f6eafa into master Sep 28, 2022
@jgalan jgalan deleted the nkx111-optional-MPFR branch September 28, 2022 15:37
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

Successfully merging this pull request may close these issues.

3 participants