Hey,

i need to include certain modules in the cmakelists.txt file for my
project. the problem roots from me getting files like "QmitkRendorWindow.h"
etc with no such file or dirctory. I have tried to include modules using
MITK_USE_MODULE (Qmitk) (as i had seen the usage here:
https://github.com/oferoze/MyProject/blob/master/CMakeLists.txt ) and other
modules as required by me in the project. I get a warning which looks like :

  CMake Warning at CMake/mitkMacroUseModule.cmake:2 (message):
  The MITK_USE_MODULE macro is deprecated, use the mitk_use_modules macro
  instead.

when i try to use mitk_use_modules in place of MITK_USE_MODULE i get an
error which looks like:

CMake Error at CMake/mitkFunctionUseModules.cmake:91 (message):
  Required TARGET argument missing.
Call Stack (most recent call first):
  Examples/HV_registration/CMakeLists.txt:4 (mitk_use_modules)


1) can anybody tell me wot the difference is  ???
2) What is TARGET argument and how do i rectify this error.

Thanks
-- 
Jatin Nath,
School of BioMedical Engineering,
Indian Institute of Technology (Banaras Hindu University), Varanasi
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to