# CMake install does nothing (macOS)

**URL:** https://discourse.cmake.org/t/cmake-install-does-nothing-macos/6602
**Category:** Code
**Created:** [October 5, 2022, 10:04am UTC](https://discourse.cmake.org/t/cmake-install-does-nothing-macos/6602 "2022-10-05T10:04:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![amzh](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/e99b99/32.png) [@amzh](https://discourse.cmake.org/u/amzh)
#### Post date: [October 5, 2022, 10:04am UTC](https://discourse.cmake.org/t/cmake-install-does-nothing-macos/6602/1 "2022-10-05T10:04:15Z")

</div>

Hello,

we 're trying to install 3rd party libraries, we’re using Xcode 12 on macOS Catalina. Problem is in that the setup does work on Windows machines with Visual Studio 17 but does not on a Mac one.

Our script basically does the following:

```auto
  'cmake',
            '--install', build_dir,
            '--config', pkg.configuration,
            '--prefix', str(THIRD_PARTY_DIR.as_posix()

```

We can see for example that it’s installing TinyXML2/8.0.0 @ xcode\_12 – Gold

After nothing appears (no configs, nothing).

---

<div class="post-metadata">

### Author: ![amzh](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/e99b99/32.png) [@amzh](https://discourse.cmake.org/u/amzh)
#### Post date: [October 6, 2022, 10:14am UTC](https://discourse.cmake.org/t/cmake-install-does-nothing-macos/6602/2 "2022-10-06T10:14:20Z")

</div>

Is this the wrong board to ask? Can you please comment whether we’re doing it the right way?

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [October 7, 2022, 10:04am UTC](https://discourse.cmake.org/t/cmake-install-does-nothing-macos/6602/3 "2022-10-07T10:04:56Z")

</div>

You need to provide more context and precise details. The comma-separated command you’ve shown doesn’t look like a raw shell command line, so it isn’t clear how this translates to “our script” in your description. Are you defining a custom command in a hand-written Xcode project, or in a CMake-generated Xcode project, or something else? You need to provide more information so that others not familiar with your setup can understand what you’re trying to do and how.
