Commit e5fd8310 authored by Brad King's avatar Brad King
Browse files

ENH: QVTK and vtkMFC libraries need to honor VTK_LIBRARY_PROPERTIES.

parent 21c467de
......@@ -9,6 +9,11 @@ SET(CMAKE_MFC_FLAG 6)
ADD_LIBRARY(vtkMFC ${MFC_SRCS})
# Apply user-defined properties to the library target.
IF(VTK_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(vtkMFC PROPERTIES ${VTK_LIBRARY_PROPERTIES})
ENDIF(VTK_LIBRARY_PROPERTIES)
TARGET_LINK_LIBRARIES( vtkMFC
vtkRendering
vtkGraphics
......
......@@ -88,6 +88,11 @@ SET_SOURCE_FILES_PROPERTIES(vtkEventQtSlotConnect.cxx PROPERTIES
ADD_LIBRARY(QVTK ${QVTKLibSrcs} ${QVTKLibMocSrcs})
# Apply user-defined properties to the library target.
IF(VTK_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(QVTK PROPERTIES ${VTK_LIBRARY_PROPERTIES})
ENDIF(VTK_LIBRARY_PROPERTIES)
# give Qt framework directory for linking
IF(APPLE)
IF(QT_INST_MAJOR_VERSION GREATER 3)
......
Supports Markdown
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