Hi, it seems that during the building to slicer, it attempts to install something to the root partition? Here is the cmake options I used:
-DCMAKE_INSTALL_LIBDIR:PATH=lib
-DCMAKE_INSTALL_PREFIX:PATH="build-dist"
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-DSlicer_USE_CTKAPPLAUNCHER=0
-DSlicer_USE_SYSTEM_bzip2=1
-DSlicer_USE_SYSTEM_curl=1
-DSlicer_USE_SYSTEM_LibArchive=1
-DSlicer_USE_SYSTEM_OpenSSL=1
-DSlicer_USE_SYSTEM_python=1
-DSlicer_USE_SYSTEM_QT=1
-DSlicer_USE_SYSTEM_RapidJSON=1
-DSlicer_USE_SYSTEM_sqlite=1
-DSlicer_USE_SYSTEM_tbb=1
-DSlicer_USE_SYSTEM_tcl=1
-DSlicer_USE_SYSTEM_tk=1
-DSlicer_USE_SYSTEM_VTK=1
-DSlicer_USE_SYSTEM_zlib=1
Though CMAKE_INSTALL_PREFIX
is set to a dir the current user has rw permission, some external project is built and installed to root partition, eg. SimpleITK. Is there any related variable to setup? Did I miss something?