mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cmake support: remove Documentation/images in build dir
In earlier versions we didn't simply create a link but actually copied the directory and its contents. So for this to work smoothly for people who have built earlier versions of Subsurface with cmake we need to no just remove the link but be willing to recursively remove that directory. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
de35c88683
commit
f0706207df
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ if(NOT insource)
|
|||
documentationLink ALL
|
||||
COMMAND
|
||||
mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ &&
|
||||
rm -f ${CMAKE_BINARY_DIR}/Documentation/images &&
|
||||
rm -rf ${CMAKE_BINARY_DIR}/Documentation/images &&
|
||||
ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue