Browse Source

Merge branch 'use-custom-target-for-ctk-build'

* use-custom-target-for-ctk-build:
  Fix dependency between CTK-Configure and CTK-build
Julien Finet 13 years ago
parent
commit
8656f6d3cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SuperBuild.cmake

+ 1 - 1
SuperBuild.cmake

@@ -271,8 +271,8 @@ ENDIF()
 ADD_CUSTOM_TARGET(CTK-build ${CTKBUILD_TARGET_ALL_OPTION}
 ADD_CUSTOM_TARGET(CTK-build ${CTKBUILD_TARGET_ALL_OPTION}
   COMMAND ${CMAKE_COMMAND} --build ${CTK_BINARY_DIR}/CTK-build --config ${CMAKE_CFG_INTDIR}
   COMMAND ${CMAKE_COMMAND} --build ${CTK_BINARY_DIR}/CTK-build --config ${CMAKE_CFG_INTDIR}
   WORKING_DIRECTORY ${CTK_BINARY_DIR}/CTK-build
   WORKING_DIRECTORY ${CTK_BINARY_DIR}/CTK-build
-  DEPENDS CTK-Configure
   )
   )
+ADD_DEPENDENCIES(CTK-build CTK-Configure)
 
 
 #-----------------------------------------------------------------------------
 #-----------------------------------------------------------------------------
 # Custom target allowing to drive the build of CTK project itself
 # Custom target allowing to drive the build of CTK project itself