diff --git a/CMakeLists.txt b/CMakeLists.txt index c692f65df..cee9928c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,8 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/utils.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/options.cmake) # RetDec, and some dependencies (e.g. LLVM, Keystone), require Python 3. -find_package(PythonInterp 3.4 REQUIRED) +find_package(Python3 3.4 REQUIRED) +set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE}) ### Variables.