]> Creatis software - clitk.git/commitdiff
Manually add a dependency on clitkAffineRegistration_ggo.h for
authordelmon <delmon>
Wed, 8 Dec 2010 16:54:56 +0000 (16:54 +0000)
committerdelmon <delmon>
Wed, 8 Dec 2010 16:54:56 +0000 (16:54 +0000)
clitkGenericAffineTransform.cxx in order to include the rule to generate it in
the makefile.

registration/CMakeLists.txt

index d720e717bfefe632a7b39ba11ed05410d1e3e509..7fe83e74c19a646ea60b60cc79a683df4376633a 100644 (file)
@@ -11,6 +11,8 @@ FOREACH(clitkTool clitkAffineRegistration)
     SET(GGO_C_FILES ${GGO_C_FILES} ${${clitkTool}_GGO_C})
 ENDFOREACH(clitkTool)
 ADD_LIBRARY(clitkRegistrationGgoLib ${GGO_C_FILES})
+SET_SOURCE_FILES_PROPERTIES(clitkGenericAffineTransform.cxx PROPERTIES
+                            OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/clitkAffineRegistration_ggo.h) 
 ADD_LIBRARY(clitkAffineRegistrationLib clitkAffineRegistrationGenericFilter.cxx clitkLBFGSBOptimizer.cxx clitkGenericAffineTransform.cxx)
 
 #=========================================================