Skip to content

Commit bdff2d9

Browse files
author
vlazzarini
committed
found out how to access windows install root
1 parent bad2577 commit bdff2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if(USE_DOUBLE)
134134
set(PLUGIN_INSTALL_DIR
135135
"$ENV{HOME}/.local/lib/csound/${APIVERSION}/plugins64")
136136
elseif(WINDOWS)
137-
set(PLUGIN_INSTALL_DIR "csound/${APIVERSION}/plugins64")
137+
set(PLUGIN_INSTALL_DIR "${env.LOCALAPPDATA}/csound/${APIVERSION}/plugins64")
138138
endif()
139139
else()
140140
message(STATUS "Building with 32-bit floats")
@@ -145,7 +145,7 @@ else()
145145
set(PLUGIN_INSTALL_DIR
146146
"$ENV{HOME}/.local/lib/csound/${APIVERSION}/plugins")
147147
elseif(WINDOWS)
148-
set(PLUGIN_INSTALL_DIR "csound/${APIVERSION}/plugins")
148+
set(PLUGIN_INSTALL_DIR "${env.LOCALAPPDATA}/csound/${APIVERSION}/plugins")
149149
endif()
150150
endif()
151151

0 commit comments

Comments
 (0)