ZDoom / ZMusic

GZDoom's music system as a standalone library
https://forum.zdoom.org/index.php
61 stars 32 forks source link

Default install prefix is /usr instead of /usr/local #34

Open ioan-chera opened 2 years ago

ioan-chera commented 2 years ago

Under macOS it's illegal, and I believe the Linux distros use the basic /usr path for their package managers, and you should rather send source-built programs to /usr/local. Under macOS I'm getting this error when running sudo make install as directed in the readme:

CMake Error at source/cmake_install.cmake:41 (file):
  file INSTALL cannot copy file
  "/Users/ioan/dezvoltare/cross/ZMusic/build/source/libzmusic.1.1.8.dylib" to
  "/usr/lib/libzmusic.1.1.8.dylib": Operation not permitted.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)