Skip to content

Commit

Permalink
Second attempt at fixing the build for the crapple platform
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jul 3, 2024
1 parent c56197b commit 8a51044
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ class TInfoSinkBase {

#ifdef __APPLE__ // crapple only implemented std::filesystem::absolute on the very latest macOS.
std::string location = loc.getStringNameOrNum(false);
if (absolute) {
append(std::filesystem::absolute(location).string());
} else {
append(location);
}
append(location);
#else
if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) {
append(std::filesystem::absolute(shaderFileName).string());
Expand Down

0 comments on commit 8a51044

Please sign in to comment.