Can't compile CMake Error at TinyInst/third_party/CMakeLists.txt
RadCet opened this issue · 0 comments
RadCet commented
I have some trouble while compiling project:
CMake Error at TinyInst/third_party/CMakeLists.txt:20 (find_package):
By not providing "FindPython3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Python3", but
CMake did not find one.
Could not find a package configuration file provided by "Python3" with any
of the following names:
Python3Config.cmake
python3-config.cmake
Add the installation prefix of "Python3" to CMAKE_PREFIX_PATH or set
"Python3_DIR" to a directory containing one of the above files. If
"Python3" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
When I edit CMakeLists to:
#find_package (Python3 REQUIRED) #old
find_package(PythonLibs 3) #new
Everything is ok now. Don't know if this make any different to project's features. Hope this help