Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: actually warn if the user did not set a build type
I did not get a warning for `-GNinja`, and the resulting failure is bizarre: ``` $ ninja Halide_Python [10/1842] Generating .__init__.py.stamp FAILED: python_bindings/src/halide/.__init__.py.stamp /repositories/halide/build-halide/python_bindings/src/halide/.__init__.py.stamp cd /repositories/halide/build-halide/python_bindings/src/halide && /usr/bin/cmake -E copy /repositories/halide/python_bindings/src/halide/__init__.py /halide/__init__.py1111 && /usr/bin/cmake -E touch /repositories/halide/build-halide/python_bindings/src/halide/.__init__.py.stamp Error copying file "/repositories/halide/python_bindings/src/halide/__init__.py" to "/halide/__init__.py". [43/1842] Building CXX object _deps/flatbuffers-build/CMakeFiles/flatbuffers.dir/src/idl_parser.cpp.o ninja: build stopped: subcommand failed. ``` (`TARGET_FILE_DIR` is somehow missing `CMAKE_CURRENT_BINARY_DIR` prefix)
- Loading branch information