Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
8656f6d3cd
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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