aboutsummaryrefslogtreecommitdiff
path: root/src/FileUtil.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-09 16:36:23 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-09 16:38:31 +0100
commite7384a7672e4449bc194ca3ec66cdd4fcc63801e (patch)
treec79bc4dfbb8b3a752ae33f26f5e1b2992a484ace /src/FileUtil.cpp
parent6cc190828160586abc6961354a7c05e99537d7e2 (diff)
Add support for dependencies (including version check)
This currently only works using pkg-config and it only adds linking flags. Need to check with a library that also includes other types of flags. TODO: Fallback to dependencies sub directory and github/server if package not found in pkg-config.
Diffstat (limited to 'src/FileUtil.cpp')
-rw-r--r--src/FileUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp
index 8502e84..59132dc 100644
--- a/src/FileUtil.cpp
+++ b/src/FileUtil.cpp
@@ -75,5 +75,6 @@ namespace sibs
}
fwrite(data.data, 1, data.size, file);
fclose(file);
+ return true;
}
} \ No newline at end of file