From a9c2ff474ed61a2ee0224b9f6bd735e9d41323ae Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 Nov 2005 16:49:48 -0500 Subject: COMP: Need target-level dependency from wrapper targets on Wrap executable target. --- Tests/Wrapping/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 6395982..60a0c15 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -62,6 +62,7 @@ VTK_WRAP_TCL (wraplibTCL TCL_SRCS ${SRCS}) ADD_CUSTOM_TARGET(wraplibTCL ALL ${CMAKE_COMMAND} -E echo "dummy target" ) +ADD_DEPENDENCIES(wraplibTCL Wrap) # # Wrap VTK -> Python @@ -72,6 +73,7 @@ VTK_WRAP_PYTHON (wraplibPython Python_SRCS ${SRCS}) ADD_CUSTOM_TARGET(wraplibPython ALL ${CMAKE_COMMAND} -E echo "dummy target" ) +ADD_DEPENDENCIES(wraplibPython Wrap) # # Wrap VTK -> Java @@ -92,6 +94,7 @@ CONFIGURE_FILE( ADD_CUSTOM_TARGET(wraplibJava ALL ${CMAKE_COMMAND} -E echo "dummy target" ) +ADD_DEPENDENCIES(wraplibJava Wrap) # # QT Wrappers -- cgit v0.12