Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkMacroEmptyExternalProject.cmake
Go to the documentation of this file.
1 
2 #
3 # Convenient macro allowing to define a "empty" project in case an external one is provided
4 # using for example <proj>_DIR.
5 # Doing so allows to keep the external project dependency system happy.
6 #
7 macro(mitkMacroEmptyExternalProject proj dependencies)
8 
9  ExternalProject_Add(${proj}
10  DOWNLOAD_COMMAND ""
11  CONFIGURE_COMMAND ""
12  BUILD_COMMAND ""
13  INSTALL_COMMAND ""
14  DEPENDS
15  ${dependencies}
16  )
17 endmacro()
mitkMacroEmptyExternalProject(proj, dependencies)