Skip to content

Commit

Permalink
Fix macOS version number, set architectures and deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Dec 1, 2022
1 parent 371ce03 commit 60cb835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ if(MSVC)
add_compile_options(/MP)
endif()

set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE INTERNAL "")
set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE INTERNAL "")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE INTERNAL "")

# linux detection
if(UNIX AND NOT APPLE)
set(LINUX TRUE CACHE INTERNAL "")
Expand Down
2 changes: 1 addition & 1 deletion source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5</string>
<string>1.51</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 60cb835

Please sign in to comment.