summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-31 16:10:08 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2013-04-01 16:24:46 -0700
commit592d4d1f14f4a3920b181e5c2b0457ba9cff95bb (patch)
treeb88be78f9b57825e0201db815daabe66fd6233d7 /cmake
parentcbb2a6df36c1c367ab983934e179975e00619f8c (diff)
build: parallel build handling of runtime swig and swig docs.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GrSwig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake
index 9a6ab8b9a7..3c814c5d60 100644
--- a/cmake/Modules/GrSwig.cmake
+++ b/cmake/Modules/GrSwig.cmake
@@ -120,7 +120,7 @@ macro(GR_SWIG_MAKE name)
#do swig doc generation if specified
if (GR_SWIG_DOC_FILE)
set(GR_SWIG_DOCS_SOURCE_DEPS ${GR_SWIG_SOURCE_DEPS})
- set(GR_SWIG_DOCS_TARGET_DEPS ${GR_SWIG_TARGET_DEPS})
+ list(APPEND GR_SWIG_DOCS_TARGET_DEPS ${GR_SWIG_TARGET_DEPS})
GR_SWIG_MAKE_DOCS(${GR_SWIG_DOC_FILE} ${GR_SWIG_DOC_DIRS})
add_custom_target(${name}_swig_doc DEPENDS ${GR_SWIG_DOC_FILE})
list(APPEND GR_SWIG_TARGET_DEPS ${name}_swig_doc ${GR_RUNTIME_SWIG_DOC_FILE})