Increase macOS minimum version to 10.15
This commit is contained in:
parent
8a51044c68
commit
9d5fd281d6
2 changed files with 1 additions and 6 deletions
|
|
@ -304,7 +304,7 @@ else()
|
|||
|
||||
|
||||
if( APPLE )
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13")
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
|
||||
if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
|
||||
# If we're compiling with a custom GCC on the Mac (which we know since g++-4.2 doesn't support C++11) statically link libgcc.
|
||||
set( ALL_C_FLAGS "-static-libgcc" )
|
||||
|
|
|
|||
|
|
@ -100,10 +100,6 @@ public:
|
|||
char locText[maxSize];
|
||||
snprintf(locText, maxSize, ":%d", loc.line);
|
||||
|
||||
#ifdef __APPLE__ // crapple only implemented std::filesystem::absolute on the very latest macOS.
|
||||
std::string location = loc.getStringNameOrNum(false);
|
||||
append(location);
|
||||
#else
|
||||
if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) {
|
||||
append(std::filesystem::absolute(shaderFileName).string());
|
||||
} else {
|
||||
|
|
@ -114,7 +110,6 @@ public:
|
|||
append(location);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
append(locText);
|
||||
append(": ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue