Skip to content

Commit 64140fb

Browse files
committed
Fix mac build
1 parent e819e5c commit 64140fb

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
macos:
1515
name: macOS
16-
runs-on: macos-12
16+
runs-on: macos-latest
1717
strategy:
1818
fail-fast: false
1919
matrix:

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# --- Detect if the plugin is build out of tree or not ---
22
if(CMAKE_PROJECT_NAME STREQUAL "obs-studio")
33
set(BUILD_OUT_OF_TREE OFF)
4-
if(OBS_CMAKE_VERSION VERSION_GREATER_EQUAL 3.0.0)
5-
legacy_check()
6-
endif()
74
else()
85
set(BUILD_OUT_OF_TREE ON)
96
cmake_minimum_required(VERSION 3.18)

cmake/ObsPluginHelpers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ if(OS_MACOS)
265265
# Set macOS-specific C++ standard library
266266
target_compile_options(
267267
${CMAKE_PROJECT_NAME}
268-
PRIVATE "$<$<COMPILE_LANG_AND_ID:OBJC,AppleClang,Clang>:-fcolor-diagnostics>" -stdlib=libc++)
268+
PRIVATE "$<$<COMPILE_LANG_AND_ID:OBJC,AppleClang,Clang>:-fcolor-diagnostics>")
269269

270270
# Set build architecture to host architecture by default
271271
if(NOT CMAKE_OSX_ARCHITECTURES)

0 commit comments

Comments
 (0)