Skip to content

Commit

Permalink
Fix building error caused by macOS SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Apr 1, 2024
1 parent 12c57c4 commit 55a3972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
cmake_minimum_required(VERSION 3.13)

if(APPLE)
# Target macOS version.
set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
elseif(WIN32)
# Use Windows 10 SDK.
set(CMAKE_SYSTEM_VERSION 10.0)
endif()

# Project name and executable name.
project(boilerplate)
set(APP_NAME "boilerplate")
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"scripts": {
"start": "node scripts/run.js",
"install": "npm run download && npm run bootstrap && npm run build",
"download": "node scripts/download_libyue.js v0.15.1",
"download": "node scripts/download_libyue.js v0.15.2",
"bootstrap": "node scripts/bootstrap.js",
"build": "node scripts/build.js",
"dist": "node scripts/dist.js"
},
"repository": {
"type": "git",
"url": "https://github.com/yue/muban.git"
"url": "https://github.com/yue/boilerplate-cpp.git"
},
"license": "public domain",
"devDependencies": {
Expand Down

0 comments on commit 55a3972

Please sign in to comment.