gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 6a51c7605a12318bcae889547022de4ff3b6012c
parent ab08f93d9c13482891e6142d62e2ad77ac3e5012
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 28 Apr 2024 16:50:01 +0200

set packaging install prefix only for Unix

Diffstat:
MCMakeLists.txt | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -66,6 +66,9 @@ set(CPACK_COMPONENTS_GROUPING IGNORE) set(CPACK_ARCHIVE_COMPONENT_INSTALL ON) set(CPACK_DEB_COMPONENT_INSTALL ON) set(CPACK_RPM_COMPONENT_INSTALL ON) -set(CPACK_PACKAGING_INSTALL_PREFIX /usr/local) + +if(UNIX AND NOT APPLE) + set(CPACK_PACKAGING_INSTALL_PREFIX /usr/local) +endif() include(CPack)