Skip to content

Commit

Permalink
Fixes to iOS and WatchOS cmake scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tanis2000 committed Jul 22, 2024
1 parent 4ca21aa commit 11da102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/BinocleIOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -D_DEBUG_ -D_DEBUG -g")

# Force unset of OS X-specific deployment target (otherwise autopopulated),
# required as of cmake 2.8.10.
set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING
"Must be empty for iOS builds." FORCE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "13.1" CACHE STRING
"The deployment target." FORCE)

#set (CMAKE_OSX_ARCHITECTURES $(ARCHS_STANDARD))
if(BINOCLE_IOS_ARCH)
Expand Down
2 changes: 1 addition & 1 deletion cmake/BinocleWatchOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -D_DEBUG_ -D_DEBUG -g")

# Force unset of OS X-specific deployment target (otherwise autopopulated),
# required as of cmake 2.8.10.
set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING
set(CMAKE_OSX_DEPLOYMENT_TARGET "7.0" CACHE STRING
"Must be empty for watchOS builds." FORCE)

#set (CMAKE_OSX_ARCHITECTURES $(ARCHS_STANDARD))
Expand Down

0 comments on commit 11da102

Please sign in to comment.