diff options
| author | Milan Crha <mcrha@redhat.com> | 2018-06-01 09:25:07 +0200 |
|---|---|---|
| committer | Milan Crha <mcrha@redhat.com> | 2018-06-01 09:25:07 +0200 |
| commit | e1da342ff72aa660374d95408b7fd6e867e4d9cc (patch) | |
| tree | 06ae70366f229da9f585a331642e3834106e2d88 /CMakeLists.txt | |
| parent | f9b9e51b113270b6fee6caba0425c91eb35a71ad (diff) | |
| download | evolution-data-server-e1da342ff72aa660374d95408b7fd6e867e4d9cc.tar.gz | |
Correct find_program() for python with multiple names
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 732d6691b..a1b2f1b7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -297,7 +297,7 @@ if(NOT PERL) message(FATAL_ERROR "You need perl to build ${PROJECT_NAME}") endif(NOT PERL) -find_program(PYTHON python3 python2 python) +find_program(PYTHON NAMES python3 python2 python) if(NOT PYTHON) message(FATAL_ERROR "You need python to build ${PROJECT_NAME}") endif(NOT PYTHON) |
