From a6315501388339efa22003004cd4ecc390e96502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Amiaux?= Date: Mon, 9 Apr 2018 09:51:46 +0200 Subject: [PATCH] build: find python 2.7 interpreter first --- build/yatools.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/yatools.cmake b/build/yatools.cmake index 56a7f943..209be5b5 100644 --- a/build/yatools.cmake +++ b/build/yatools.cmake @@ -37,7 +37,8 @@ endif() include(${ya_dir}/build/yadeps.cmake) # IDA works with Python 2.7, which is mandatory to build swig tools -find_package(PythonLibs 2.7 REQUIRED) +find_package(PythonInterp 2.7 REQUIRED) +find_package(PythonLibs 2.7 REQUIRED) # yatools helpers function(setup_yatools target) @@ -237,7 +238,6 @@ add_yatools_py(32) add_yatools_py(64) # testdata -find_package(PythonInterp 2.7 REQUIRED) function(make_testdata target bin src idaq) set(output "${root_dir}/testdata/${target}/database/database.yadb") set(no_pdb "--no-pdb")