Hi there,

I think the following may be an issue, especially for 3rd party developers:

FunctionCreateBlueBerryApplication has a parameter LIBRARY_DIRS.
This is passed through to 

  # Install the executable
  MITK_INSTALL_TARGETS(EXECUTABLES ${_APP_NAME} LIBRARY_DIRS 
${_APP_LIBRARY_DIRS} GLOB_PLUGINS )

But in MITK_INSTALL_TARGETS the parameter is not used.

In addition, in mitkFunctionGetLibrarySearchPaths, all the directories for 
libraries are accumulated, and this function is used in:

grep -rl FunctionGetLibrarySearchPaths *
CMake/mitkFunctionCreateWindowsBatchScript.cmake
CMake/mitkFunctionGetLibrarySearchPaths.cmake
CMake/mitkMacroInstall.cmake
CMake/mitkMacroInstallHelperApp.cmake
CMakeLists.txt
MITKConfig.cmake.in

So, it seems that mitkFunctionGetLibrarySearchPaths should be the place to get 
all the paths, when doing things like fixing up a Mac bundle.  This function 
seems to assume the existence of global variable 
MITK_ADDITIONAL_LIBRARY_SEARCH_PATHS.

So, is there some mis-match going on? Should I set 
MITK_ADDITIONAL_LIBRARY_SEARCH_PATHS in my code? Or should MITK_INSTALL_TARGETS 
be using mitkFunctionGetLibrarySearchPaths?

Thanks

Matt




------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to