Skip to content

Commit 1ce2c33

Browse files
committed
fetching eigen3 via ExternalProject_Add's needs to specify STAMP_DIR and TMP_DIR just like librett and umpire
1 parent 138af30 commit 1ce2c33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

external/eigen.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ else()
104104

105105
ExternalProject_Add(eigen3
106106
PREFIX ${CMAKE_INSTALL_PREFIX}
107-
#--Download step--------------
107+
STAMP_DIR ${FETCHCONTENT_BASE_DIR}/eigen3-ep-artifacts
108+
TMP_DIR ${FETCHCONTENT_BASE_DIR}/eigen3-ep-artifacts # needed in case CMAKE_INSTALL_PREFIX is not writable
109+
#--Download step--------------
108110
DOWNLOAD_DIR ${EXTERNAL_SOURCE_DIR}
109111
URL ${EIGEN3_URL}
110112
URL_HASH ${EIGEN3_URL_HASH}

0 commit comments

Comments
 (0)