Merge from dev
This commit is contained in:
commit
9f64679fe0
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
CMAKE_CXX_STANDARD: 11
|
CMAKE_CXX_STANDARD: 11
|
||||||
PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig
|
PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig
|
||||||
RAW_THERAPEE_MAJOR: '5'
|
RAW_THERAPEE_MAJOR: '5'
|
||||||
RAW_THERAPEE_MINOR: '7'
|
RAW_THERAPEE_MINOR: '8'
|
||||||
C_FLAGS: -Xpreprocessor -fopenmp /usr/local/lib/libomp.dylib -I/usr/local/include -I/usr/local/opt/gdk-pixbuf/include -I/usr/local/opt/libiconv/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/expat/include -I/usr/local/opt/llvm/include
|
C_FLAGS: -Xpreprocessor -fopenmp /usr/local/lib/libomp.dylib -I/usr/local/include -I/usr/local/opt/gdk-pixbuf/include -I/usr/local/opt/libiconv/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/expat/include -I/usr/local/opt/llvm/include
|
||||||
run: |
|
run: |
|
||||||
# GITHUB_REF is the ref that triggered the build, like refs/heads/new-feature - the next line parses that to REF: the branch name only (new-feature)
|
# GITHUB_REF is the ref that triggered the build, like refs/heads/new-feature - the next line parses that to REF: the branch name only (new-feature)
|
||||||
@ -54,6 +54,7 @@ jobs:
|
|||||||
-DOpenMP_CXX_FLAGS="${C_FLAGS}" \
|
-DOpenMP_CXX_FLAGS="${C_FLAGS}" \
|
||||||
-DCMAKE_AR="/usr/local/opt/llvm/bin/llvm-ar" \
|
-DCMAKE_AR="/usr/local/opt/llvm/bin/llvm-ar" \
|
||||||
-DCMAKE_RANLIB="/usr/local/opt/llvm/bin/llvm-ranlib" \
|
-DCMAKE_RANLIB="/usr/local/opt/llvm/bin/llvm-ranlib" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.11"
|
||||||
..
|
..
|
||||||
make --jobs
|
make --jobs
|
||||||
make install
|
make install
|
||||||
|
@ -2291,7 +2291,6 @@ void Options::load(bool lightweight)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
WCHAR pathW[MAX_PATH] = {0};
|
WCHAR pathW[MAX_PATH] = {0};
|
||||||
|
|
||||||
@ -2334,14 +2333,13 @@ void Options::load(bool lightweight)
|
|||||||
#endif
|
#endif
|
||||||
if (path != nullptr) {
|
if (path != nullptr) {
|
||||||
cacheBaseDir = Glib::ustring(path);
|
cacheBaseDir = Glib::ustring(path);
|
||||||
|
|
||||||
if (!Glib::path_is_absolute(cacheBaseDir)) {
|
if (!Glib::path_is_absolute(cacheBaseDir)) {
|
||||||
Glib::ustring msg = Glib::ustring::compose("Cache base dir %1 is not absolute", cacheBaseDir);
|
Glib::ustring msg = Glib::ustring::compose("Cache base dir %1 is not absolute", cacheBaseDir);
|
||||||
throw Error(msg);
|
throw Error(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// No environment variable provided, so falling back to the multi user mode, if enabled
|
// No environment variable provided, so falling back to the multi user mode, if enabled
|
||||||
else if (options.multiUser) {
|
else if (options.multiUser) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user