diff options
author | Sadie Powell <sadie@witchery.services> | 2024-05-28 01:07:27 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-05-28 01:07:27 +0100 |
commit | eb12a89b8e7f89af3a9ad52a02498d8a01dece71 (patch) | |
tree | abb30ca42422e5684175ae3b1ba614056b5410dc | |
parent | d4a34308e58b27774190c7d4ded6020bea98e24b (diff) |
Fix creating the runtime directory on Windows.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 40cd3521e..0381273b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -355,7 +355,7 @@ get_filename_component(ABSOLUTE_LOG_DIR ${LOG_DIR} REALPATH BASE_DIR ${CMAKE_INS install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ABSOLUTE_DATA_DIR}/backups\")") install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ABSOLUTE_LOG_DIR}\")") if(WIN32) - install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${ABSOLUTE_DATA_DIR}/runtime\")") + install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ABSOLUTE_DATA_DIR}/runtime\")") endif() # On non-Windows platforms, if RUNGROUP is set, change the permissions of the below directories, as well as the group of the data directory if(NOT WIN32 AND RUNGROUP) |