# CMAKE\_OSX\_DEPLOYMENT\_TARGET not working as expected

**URL:** https://discourse.cmake.org/t/cmake-osx-deployment-target-not-working-as-expected/13985
**Category:** Usage
**Created:** [April 25, 2025, 12:10pm UTC](https://discourse.cmake.org/t/cmake-osx-deployment-target-not-working-as-expected/13985 "2025-04-25T12:10:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![perdrix](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@perdrix](https://discourse.cmake.org/u/perdrix)
#### Post date: [April 25, 2025, 12:10pm UTC](https://discourse.cmake.org/t/cmake-osx-deployment-target-not-working-as-expected/13985/1 "2025-04-25T12:10:41Z")

</div>

My top level CMake file says:

```auto
set(CMAKE_OSX_DEPLOYMENT_TARGET 13.0 CACHE STRING "Minimum operating system version for deployment")

```

and I am building on an ARM system running Sequoia (15.4.1) with XCode 16.3 with the target set for X86\_64. The file command confirms:

```auto
amonra@Saturn MacOS % file DeepSkyStacker
DeepSkyStacker: Mach-O 64-bit executable x86_64

```

If then take the signed app folder over to a Ventura system (13.7.5) it tells me:

**You can’t use this version of application"DeepSkyStacker" with this version of macOS**

Doesn’t make sense to me - what’s going wrong?

---

<div class="post-metadata">

### Author: ![perdrix](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@perdrix](https://discourse.cmake.org/u/perdrix)
#### Post date: [April 25, 2025, 2:41pm UTC](https://discourse.cmake.org/t/cmake-osx-deployment-target-not-working-as-expected/13985/2 "2025-04-25T14:41:38Z")

</div>

I added FORCE to the end and that solved the problem.

David
