File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,20 +124,29 @@ if(NOT APPLE)
124124 message (STATUS "LIBRARY INSTALL DIR: ${LIBRARY_INSTALL_DIR} " )
125125endif ()
126126
127+ # plugin install directories (CS_USER_PLUGIN)
127128if (USE_DOUBLE)
128129 message (STATUS "Building with 64-bit floats" )
129- set (PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR} /csound/plugins64-${APIVERSION} " )
130130 if (APPLE )
131131 set (PLUGIN_INSTALL_DIR
132- "${CSOUND_FRAMEWORK} /Versions/${APIVERSION} /Resources/Opcodes64" )
132+ "$ENV{HOME} /Library/csound/${APIVERSION} /plugins64" )
133+ elseif (LINUX )
134+ set (PLUGIN_INSTALL_DIR
135+ "$ENV{HOME} /csound/${APIVERSION} /plugins64" )
136+ elseif (WINDOWS)
137+ set (PLUGIN_INSTALL_DIR "csound/${APIVERSION} /plugins64" )
133138 endif ()
134139else ()
135140 message (STATUS "Building with 32-bit floats" )
136- set (PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR} /csound/plugins-${APIVERSION} " )
137141 if (APPLE )
138142 set (PLUGIN_INSTALL_DIR
139- "${CSOUND_FRAMEWORK32} /Versions/${APIVERSION} /Resources/Opcodes" )
140- endif ()
143+ "$ENV{HOME} /Library/csound/${APIVERSION} /plugins" )
144+ elseif (LINUX )
145+ set (PLUGIN_INSTALL_DIR
146+ "$ENV{HOME} /csound/${APIVERSION} /plugins" )
147+ elseif (WINDOWS)
148+ set (PLUGIN_INSTALL_DIR "csound/${APIVERSION} /plugins" )
149+ endif ()
141150endif ()
142151
143152message ("-- Csound headers: ${CSOUND_INCLUDE_DIR} " )
You can’t perform that action at this time.
0 commit comments