mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
efae1ab68b
Previously, MAKE_DIRECTORY would print `problem creating directory: {}`,
which was very unhelpful for debugging. Extend the message with the
OS error string.
3 lines
116 B
CMake
3 lines
116 B
CMake
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/file" "")
|
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/file/directory")
|