# Cmake Error (unknown argument specified)

**URL:** https://discourse.cmake.org/t/cmake-error-unknown-argument-specified/6320
**Category:** Usage
**Tags:** os:linux
**Created:** [August 23, 2022, 10:35am UTC](https://discourse.cmake.org/t/cmake-error-unknown-argument-specified/6320 "2022-08-23T10:35:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hoyu-ui](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hoyu-ui/32/2701_2.png) [@hoyu-ui](https://discourse.cmake.org/u/hoyu-ui)
#### Post date: [August 23, 2022, 10:35am UTC](https://discourse.cmake.org/t/cmake-error-unknown-argument-specified/6320/1 "2022-08-23T10:35:00Z")

</div>

I’m using ubuntu 22.04, and python 3.10. when i run cmake comman while installing package it say

CMake Error at cmake/ecbuild\_find\_python.cmake:165 (if):  
if given arguments:

```
"PYTHON_LIBRARY" "AND" "PYTHON_PREFIX" "AND" "NOT" "CMAKE_SYSTEM_PREFIX_PATH" "MATCHES"

```

Unknown arguments specified  
Call Stack (most recent call first):  
atlas/CMakeLists.txt:42 (ecbuild\_find\_python)

Please help

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [August 23, 2022, 12:04pm UTC](https://discourse.cmake.org/t/cmake-error-unknown-argument-specified/6320/2 "2022-08-23T12:04:31Z")

</div>

It seems like the last argument expands to nothing (the one after `MATCHES`). Putting it in quotes should help here.
