D:\workspace\Paddle\build>cmake .. -GNinja -DWITH_GPU=OFF
CMake Deprecation Warning at CMakeLists.txt:25 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Found Paddle host system: win32, version:
-- Found Paddle host system's CPU: 2 cores
CMake Error at CMakeLists.txt:42 (project):
Running
'D:/Scripts/ninja.exe' '--version'
failed with:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "D:\Scripts\ninja.exe\__main__.py", line 4, in
ModuleNotFoundError: No module named 'ninja'
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "D:/workspace/Paddle/build/CMakeFiles/CMakeOutput.log".