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

Reasonable test for target doc

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 621c945a
......@@ -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" )
Markdown is supported
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