summaryrefslogtreecommitdiff
blob: cac6ee285e4041cad08e41b873020a6d68f4d87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Naur openCOLLADA-svn864.orig/COLLADASaxFrameworkLoader/CMakeLists.txt openCOLLADA-svn864/COLLADASaxFrameworkLoader/CMakeLists.txt
--- openCOLLADA-svn864.orig/COLLADASaxFrameworkLoader/CMakeLists.txt	2011-10-13 18:54:06.000000000 -0500
+++ openCOLLADA-svn864/COLLADASaxFrameworkLoader/CMakeLists.txt	2012-01-17 16:11:35.825610565 -0600
@@ -260,6 +260,14 @@
 	${PCRE_LIBRARIES}
 )
 
+# For parallel building.
+if(USE_SHARED)
+    add_dependencies(GeneratedSaxParser_shared OpenCOLLADABaseUtils_shared)
+endif()
+if(USE_STATIC)
+    add_dependencies(GeneratedSaxParser_static OpenCOLLADABaseUtils_static)
+endif()
+
 if (USE_LIBXML)
 	list(APPEND libGeneratedSaxParser_include_dirs ${LIBXML2_INCLUDE_DIR})
 	list(APPEND TARGET_LIBS ${LIBXML2_LIBRARIES})