X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSVTK%2FCMakeLists.txt;h=493e5651ced4e8d99dc0affcb0cb8057a3da3edb;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=53a802ae31b193c1b6582c3884bf46c91b87d7b8;hpb=e0c4e6fc9b3bb534e4ac8286c7331378eb9781c1;p=modules%2Fgui.git diff --git a/src/SVTK/CMakeLists.txt b/src/SVTK/CMakeLists.txt index 53a802ae3..493e5651c 100755 --- a/src/SVTK/CMakeLists.txt +++ b/src/SVTK/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -INCLUDE(UseQt4Ext) +INCLUDE(UseQtExt) INCLUDE(${VTK_USE_FILE}) # --- options --- @@ -42,9 +42,9 @@ ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS}) # libraries to link to SET(_link_LIBRARIES - ${QT_LIBRARIES} + ${QT_LIBRARIES} ${OPENGL_LIBRARIES} - ${VTK_LIBRARIES} + ${VTK_LIBRARIES} ${CAS_KERNEL} ${CAS_VIEWER} ${KERNEL_OpUtil} qtx suit ViewerTools SalomeObject SalomePrs VTKViewer OpenGLUtils @@ -58,6 +58,7 @@ SET(_moc_HEADERS SVTK_FontWidget.h SVTK_GenericRenderWindowInteractor.h SVTK_RecorderDlg.h + SVTK_PsOptionsDlg.h SVTK_RenderWindowInteractor.h SVTK_SetRotationPointDlg.h SVTK_View.h @@ -148,7 +149,7 @@ SET(_other_RESOURCES # --- sources --- # sources / moc wrappings -QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS} ${_moc_internal_HEADERS}) +QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS} ${_moc_internal_HEADERS}) # sources / static SET(_other_SOURCES @@ -169,6 +170,7 @@ SET(_other_SOURCES SVTK_Prs.cxx SVTK_Recorder.cxx SVTK_RecorderDlg.cxx + SVTK_PsOptionsDlg.cxx SVTK_RenderWindowInteractor.cxx SVTK_Renderer.cxx SVTK_Selector.cxx @@ -196,7 +198,6 @@ TARGET_LINK_LIBRARIES(SVTK ${_link_LIBRARIES}) INSTALL(TARGETS SVTK EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(FILES ${SVTK_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) -QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}") +QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}") INSTALL(FILES ${_other_RESOURCES} DESTINATION ${SALOME_GUI_INSTALL_RES_DATA}) -