cmake .. -DWITH_FHS=ON tries to create /usr/local/libexec/grass/gui/wxpython on configuring before make install:
|
file(MAKE_DIRECTORY "${GISBASE}/gui/wxpython") |
GISBASE is set here (CMAKE_INSTALL_PREFIX=/usr/local for UNIX [1]):
|
set(GISBASE ${CMAKE_INSTALL_PREFIX}/${GISBASE_DIR}) |
|
set(RUNTIME_GISBASE "${OUTDIR}/${GISBASE_DIR}") |
RUNTIME_GISBASE (not clear why it's called "runtime") is created in the build output directory, which is fine. I think we should create any directories or files outside the build directory only on installation.
cmake .. -DWITH_FHS=ONtries to create/usr/local/libexec/grass/gui/wxpythonon configuring beforemake install:grass/CMakeLists.txt
Line 191 in 8bf4f68
GISBASEis set here (CMAKE_INSTALL_PREFIX=/usr/localfor UNIX [1]):grass/cmake/modules/GRASSInstallDirs.cmake
Lines 81 to 82 in 8bf4f68
RUNTIME_GISBASE(not clear why it's called "runtime") is created in the build output directory, which is fine. I think we should create any directories or files outside the build directory only on installation.