Skip to content

Commit

Permalink
Set CMAKE_OSX_DEPLOYMENT_TARGET to 10.15
Browse files Browse the repository at this point in the history
Set OSX target to be at minimum 10.15 (macOS Catalina) to account for
std::filesystem::path

Fix #791
  • Loading branch information
RainerKuemmerle committed May 19, 2024
1 parent 76dcfa7 commit 0a7f5f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.14)

set(CMAKE_LEGACY_CYGWIN_WIN32 0)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment target")

project(g2o)

Expand Down

0 comments on commit 0a7f5f3

Please sign in to comment.