aboutsummaryrefslogtreecommitdiff
path: root/src/CmakeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CmakeModule.cpp')
-rw-r--r--src/CmakeModule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CmakeModule.cpp b/src/CmakeModule.cpp
index 91c572d..a573e85 100644
--- a/src/CmakeModule.cpp
+++ b/src/CmakeModule.cpp
@@ -23,7 +23,8 @@ namespace sibs
if (!globalLibDirResult)
return Result<bool>::Err(globalLibDirResult);
FileString globalLibDir = globalLibDirResult.unwrap();
- globalLibDir += TINYDIR_STRING("/.cache/sibs/lib");
+ globalLibDir += TINYDIR_STRING("/.cache/sibs/lib/");
+ globalLibDir += toFileString(asString(config.platform));
Result<bool> createGlobalLibDirResult = createDirectoryRecursive(globalLibDir.c_str());
if(createGlobalLibDirResult.isErr())
return createGlobalLibDirResult;