diff --git a/external/cutt.cmake b/external/cutt.cmake index e06d32bb5e..dbf4e94f91 100644 --- a/external/cutt.cmake +++ b/external/cutt.cmake @@ -115,6 +115,9 @@ else() STEP_TARGETS build ) + # TiledArray_CUTT target depends on existence of this directory to be usable from the build tree at configure time + execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory "${EXTERNAL_SOURCE_DIR}/src") + # do install of cuTT as part of building TiledArray's install target install(CODE "execute_process( diff --git a/external/umpire.cmake b/external/umpire.cmake index 2737864d39..3b3a553248 100644 --- a/external/umpire.cmake +++ b/external/umpire.cmake @@ -139,6 +139,10 @@ else() STEP_TARGETS build ) + # TiledArray_UMPIRE target depends on existence of these directories to be usable from the build tree at configure time + execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory "${EXTERNAL_SOURCE_DIR}/src/umpire/tpl/camp/include") + execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory "${EXTERNAL_BUILD_DIR}/include") + # do install of Umpire as part of building TiledArray's install target install(CODE "execute_process(