소스 검색

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 년 전
부모
커밋
8656f6d3cd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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