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

Change OS specific instructions in CMAKE -Install #12

Open
paulmcquad opened this issue Jun 19, 2024 · 1 comment
Open

Change OS specific instructions in CMAKE -Install #12

paulmcquad opened this issue Jun 19, 2024 · 1 comment

Comments

@paulmcquad
Copy link

CMake needs specific instructions for OS's. I can't get this library working on linux. It needs to be easier to install.

Change to This:
else(APPLE)
install(TARGETS BigNumber DESTINATION ~/Library/Frameworks/BigNumber/lib)
install(FILES src/bignumber.h DESTINATION ~/Library/Frameworks/BigNumber/include)

https://stackoverflow.com/questions/9160335/os-specific-instructions-in-cmake-how-to

Detect Apple MacOS and Detect Unix and Linux:

if(APPLE)

OR:

if(UNIX AND NOT APPLE)

@Limeoats
Copy link
Owner

Can you please describe the error you're getting? Are you unable to download the contents of the bin folder and link to the .a file?

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

No branches or pull requests

2 participants