gtm_threadgbl_deftypes depends on xfer_desc

This commit is contained in:
Brad King 2012-06-21 10:59:37 -04:00
parent 33f1fdacf9
commit 0cd020d056
1 changed files with 3 additions and 0 deletions

View File

@ -201,9 +201,12 @@ if(gen_xfer_desc)
list(APPEND libmumps_SOURCES xfer_desc.i) list(APPEND libmumps_SOURCES xfer_desc.i)
endif() endif()
add_custom_target(gen_xfer_desc DEPENDS xfer_desc.i)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(gtm_threadgbl_deftypes ${gtm_threadgbl_deftypes_SOURCES}) add_executable(gtm_threadgbl_deftypes ${gtm_threadgbl_deftypes_SOURCES})
add_dependencies(gtm_threadgbl_deftypes gen_xfer_desc)
add_custom_command( add_custom_command(
OUTPUT gtm_threadgbl_deftypes.h OUTPUT gtm_threadgbl_deftypes.h