Commit 56044e4f authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed doc build error

git-svn-id: 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 8576c765
......@@ -35,8 +35,7 @@ if (NOT EXISTS ${CMAKE_BINARY_DIR}/Build)
endif ()
#generate the global doc target (but only once!)
GET_TARGET_PROPERTY(target_location doc EchoString)
if ( NOT target_location STREQUAL "Building Documentation" )
if ( NOT TARGET doc )
SET_TARGET_PROPERTIES( doc PROPERTIES EchoString "Building Documentation" )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment