Explorar o código

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

* use-custom-target-for-ctk-build:
  Fix dependency between CTK-Configure and CTK-build
Julien Finet %!s(int64=13) %!d(string=hai) anos
pai
achega
8656f6d3cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SuperBuild.cmake

+ 1 - 1
SuperBuild.cmake

@@ -271,8 +271,8 @@ ENDIF()
 ADD_CUSTOM_TARGET(CTK-build ${CTKBUILD_TARGET_ALL_OPTION}
   COMMAND ${CMAKE_COMMAND} --build ${CTK_BINARY_DIR}/CTK-build --config ${CMAKE_CFG_INTDIR}
   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