From: delmon Date: Wed, 8 Dec 2010 16:54:56 +0000 (+0000) Subject: Manually add a dependency on clitkAffineRegistration_ggo.h for X-Git-Tag: v1.2.0~293 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a1101bfc52316b961e62bdedd186cb2bc6f57979;p=clitk.git Manually add a dependency on clitkAffineRegistration_ggo.h for clitkGenericAffineTransform.cxx in order to include the rule to generate it in the makefile. --- diff --git a/registration/CMakeLists.txt b/registration/CMakeLists.txt index d720e71..7fe83e7 100644 --- a/registration/CMakeLists.txt +++ b/registration/CMakeLists.txt @@ -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) #=========================================================