Skip to content

Commit 9f4463b

Browse files
committed
fix: rename option to macosx_deployment_target
1 parent 86c6bbd commit 9f4463b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ set_option_from_env(ZMQ_NO_SYNC_RESOLVE)
4646
if(APPLE)
4747
option(MACOSX_DEPLOYMENT_TARGET "MacOS deployment target" "10.15")
4848
set_option_from_env(MACOSX_DEPLOYMENT_TARGET)
49-
set(CMAKE_OSX_DEPLOYMENT_TARGET
50-
${MACOSX_DEPLOYMENT_TARGET}
51-
CACHE STRING "MacOS deployment target")
49+
set(CMAKE_OSX_DEPLOYMENT_TARGET ${MACOSX_DEPLOYMENT_TARGET})
5250
endif()
5351

5452
# Set the target system on Windows (for cross-compiling x86)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ this, add the following to your .npmrc, replacing 10.15 with your desired
184184
minimum macOS version:
185185

186186
```ini
187-
macos_deployment_target="10.15"
187+
macosx_deployment_target="10.15"
188188
```
189189

190190
</details>

0 commit comments

Comments
 (0)