Skip to content

Commit

Permalink
found out how to access windows install root
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Aug 19, 2021
1 parent bad2577 commit bdff2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ if(USE_DOUBLE)
set(PLUGIN_INSTALL_DIR
"$ENV{HOME}/.local/lib/csound/${APIVERSION}/plugins64")
elseif(WINDOWS)
set(PLUGIN_INSTALL_DIR "csound/${APIVERSION}/plugins64")
set(PLUGIN_INSTALL_DIR "${env.LOCALAPPDATA}/csound/${APIVERSION}/plugins64")
endif()
else()
message(STATUS "Building with 32-bit floats")
Expand All @@ -145,7 +145,7 @@ else()
set(PLUGIN_INSTALL_DIR
"$ENV{HOME}/.local/lib/csound/${APIVERSION}/plugins")
elseif(WINDOWS)
set(PLUGIN_INSTALL_DIR "csound/${APIVERSION}/plugins")
set(PLUGIN_INSTALL_DIR "${env.LOCALAPPDATA}/csound/${APIVERSION}/plugins")
endif()
endif()

Expand Down

0 comments on commit bdff2d9

Please sign in to comment.