Slicer: 2145-support-for-installing-extension-from-file fb8e315d

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-09-16 20:59:15 2145-support-for-installing-extension-from-file c3122a09
Changeset

COMP: Fix CTKConfig.cmake to properly set _{LIBRARY,INCLUDE}_DIRS variable

For example, within CTKConfig.cmake:

  • Before this commit:

[...]
set(CTKVisualizationVTKCore_LIBRARY_DIRS "VTK_LIBRARY_DIRS;/path/to/VTK-build/bin")
[...]

set(CTKVisualizationVTKWidgets_INCLUDE_DIRS
[...]
"/path/to/CTK-build/Libs/Core;"
"/path/to/CTK/Libs/Visualization/VTK/Core;
"/path/to/CTK-build/CTK-build/Libs/Visualization/VTK/Core;"
"VTK_INCLUDE_DIRS;"
"/path/to/VTK-build;"
"/path/to/VTK-build/Common;"
[...]
)

  • After this commit:

[...]
set(CTKVisualizationVTKCore_LIBRARY_DIRS "/path/to/VTK-build/bin")
[...]

set(CTKVisualizationVTKWidgets_INCLUDE_DIRS
[...]
"/path/to/CTK-build/Libs/Core;"
"/path/to/CTK/Libs/Visualization/VTK/Core;
"/path/to/CTK-build/CTK-build/Libs/Visualization/VTK/Core;"
"/path/to/VTK-build;"
"/path/to/VTK-build/Common;"
[...]
)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22434 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild/External_CTK.cmake Diff File