Commit 125a81d2 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Only add the headers that were WRAP_SPECIAL

This adds the minimum headers required by WRAP_SPECIAL previously,
rather than all of the heaaders for the module (probably overkill).

Change-Id: I5c6634652c49f4eb09f454503a2b7dad1372f65c
parent 12a6730e
......@@ -147,6 +147,11 @@ SET(Module_SRCS
vtkSparseArray.txx
vtkTypedArray.txx
vtkTypeTemplate.h
vtkType.h
vtkSystemIncludes.h
${CMAKE_CURRENT_BINARY_DIR}/vtkConfigure.h
${CMAKE_CURRENT_BINARY_DIR}/vtkMathConfigure.h
${CMAKE_CURRENT_BINARY_DIR}/vtkVersionMacros.h
)
set(${vtk-module}_HDRS
......@@ -167,9 +172,7 @@ set(${vtk-module}_HDRS
vtkNew.h
vtkSetGet.h
vtkSmartPointer.h
vtkSystemIncludes.h
vtkTemplateAliasMacro.h
vtkType.h
vtkTypeTraits.h
vtkVariantCast.h
vtkVariantCreate.h
......@@ -178,10 +181,7 @@ set(${vtk-module}_HDRS
vtkWeakPointer.h
vtkWin32Header.h
vtkWindows.h
${CMAKE_CURRENT_BINARY_DIR}/vtkConfigure.h
${CMAKE_CURRENT_BINARY_DIR}/vtkMathConfigure.h
${CMAKE_CURRENT_BINARY_DIR}/vtkToolkits.h
${CMAKE_CURRENT_BINARY_DIR}/vtkVersionMacros.h
)
if(vtkCommonDataModel_ENABLED)
......@@ -508,7 +508,7 @@ if(CMAKE_SYSTEM MATCHES "SunOS.*")
set(KIT_LIBS ${KIT_LIBS} socket nsl)
endif()
vtk_module_library(vtkCommonCore ${Module_SRCS} ${${vtk-module}_HDRS})
vtk_module_library(vtkCommonCore ${Module_SRCS})
target_link_libraries(vtkCommonCore ${CMAKE_THREAD_LIBS_INIT})
set_target_properties(vtkCommonCore PROPERTIES LINK_INTERFACE_LIBRARIES "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment