mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-29 04:14:27 +00:00
Mention the SOURCE_DIR that we checked and found empty or missing so that the user can see the full path to what we expected to find.
6 lines
212 B
CMake
6 lines
212 B
CMake
include(ExternalProject)
|
|
set(source_dir "${CMAKE_CURRENT_BINARY_DIR}/SourceEmpty")
|
|
file(REMOVE_RECURSE "${source_dir}")
|
|
file(MAKE_DIRECTORY "${source_dir}")
|
|
ExternalProject_Add(MyProj SOURCE_DIR "${source_dir}")
|