BigNumber icon indicating copy to clipboard operation
BigNumber copied to clipboard

Change OS specific instructions in CMAKE -Install

Open paulmcquad opened this issue 1 year ago • 1 comments

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)

paulmcquad avatar Jun 19 '24 22:06 paulmcquad

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?

Limeoats avatar Jun 23 '24 23:06 Limeoats