dcb188363d
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}")
|