We don't support insource builds anymore

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
Tomaz Canabrava 2015-11-17 19:25:04 -02:00 committed by Dirk Hohndel
parent 6948859678
commit b33059e08b

View file

@ -294,7 +294,6 @@ target_link_libraries(export-html subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES
# install a few things so that one can run Subsurface from the build # install a few things so that one can run Subsurface from the build
# directory # directory
if(NOT insource)
add_custom_target(themeLink ALL add_custom_target(themeLink ALL
COMMAND COMMAND
rm -f ${CMAKE_BINARY_DIR}/theme && rm -f ${CMAKE_BINARY_DIR}/theme &&
@ -316,13 +315,6 @@ if(NOT insource)
ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images
) )
endif() endif()
else()
if(NOT NO_DOCS)
add_custom_target(
documentationLink ALL
)
endif()
endif()
if(NOT NO_DOCS) if(NOT NO_DOCS)
add_custom_target( add_custom_target(
documentation ALL documentation ALL