Change OS specific instructions in CMAKE -Install
paulmcquad opened this issue · 1 comments
paulmcquad commented
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 commented
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?