diff --git a/config/darwin.cmake b/config/darwin.cmake index 48b0ce749021..8227511c72da 100644 --- a/config/darwin.cmake +++ b/config/darwin.cmake @@ -55,8 +55,6 @@ set(USE_TVM_OP OFF CACHE BOOL "Enable use of TVM operator build system.") #--------------------- # Compilers #-------------------- -set(CMAKE_GENERATOR "Ninja" CACHE STRING "Build Tool Generator used by CMake") - # Compilers are usually autodetected. Uncomment and modify the next 3 lines to # choose manually: diff --git a/config/linux.cmake b/config/linux.cmake index 26ed366f214c..beecc35d82f0 100644 --- a/config/linux.cmake +++ b/config/linux.cmake @@ -73,8 +73,6 @@ set(USE_TVM_OP OFF CACHE BOOL "Enable use of TVM operator build system.") #--------------------- # Compilers #-------------------- -set(CMAKE_GENERATOR "Ninja" CACHE STRING "Build Tool Generator used by CMake") - # Compilers are usually autodetected. Uncomment and modify the next 3 lines to # choose manually: diff --git a/config/linux_gpu.cmake b/config/linux_gpu.cmake index 6eb65b98ce24..58f69d6d786b 100644 --- a/config/linux_gpu.cmake +++ b/config/linux_gpu.cmake @@ -73,8 +73,6 @@ set(USE_TVM_OP OFF CACHE BOOL "Enable use of TVM operator build system.") #--------------------- # Compilers #-------------------- -set(CMAKE_GENERATOR "Ninja" CACHE STRING "Build Tool Generator used by CMake") - # Compilers are usually autodetected. Uncomment and modify the next 3 lines to # choose manually: diff --git a/docs/static_site/src/pages/get_started/osx_setup.md b/docs/static_site/src/pages/get_started/osx_setup.md index c29550c9cd42..567bf56faac0 100644 --- a/docs/static_site/src/pages/get_started/osx_setup.md +++ b/docs/static_site/src/pages/get_started/osx_setup.md @@ -110,7 +110,7 @@ the guide in [Math Library Selection](build_from_source#math-library-selection). ```bash rm -rf build mkdir -p build && cd build -cmake .. +cmake -GNinja .. cmake --build . ``` diff --git a/docs/static_site/src/pages/get_started/ubuntu_setup.md b/docs/static_site/src/pages/get_started/ubuntu_setup.md index 0c104fc03301..6a705a9ac6e1 100644 --- a/docs/static_site/src/pages/get_started/ubuntu_setup.md +++ b/docs/static_site/src/pages/get_started/ubuntu_setup.md @@ -130,7 +130,7 @@ the guide in [Math Library Selection](build_from_source#math-library-selection). ```bash rm -rf build mkdir -p build && cd build -cmake .. +cmake -GNinja .. cmake --build . ```