From: SALOME Date: Fri, 27 Apr 2018 14:52:08 +0000 (+0300) Subject: Fix a problem with linking tests on Fedora 26 OS X-Git-Tag: V8_5_0rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Ffedora26_link;p=modules%2Fparavis.git Fix a problem with linking tests on Fedora 26 OS --- diff --git a/src/Plugins/ParaMEDCorba/CMakeLists.txt b/src/Plugins/ParaMEDCorba/CMakeLists.txt index 11ca52fa..7728d30f 100644 --- a/src/Plugins/ParaMEDCorba/CMakeLists.txt +++ b/src/Plugins/ParaMEDCorba/CMakeLists.txt @@ -89,9 +89,11 @@ PROJECT( ParaMEDCorba ) ${ParaMEDCorba_SOURCE_DIR}/testParaMEDCorba.cxx ) # SET_TARGET_PROPERTIES(testCorbaPlugin PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}") - + + # RNV: ${vtkgl2ps_LIBRARIES} was added for Fedora 26 OS TARGET_LINK_LIBRARIES( testParaMEDCorba ParaMEDCorbaPlugin + ${vtkgl2ps_LIBRARIES} ) INSTALL(FILES ParaMEDCorbaServerManager.xml DESTINATION share) diff --git a/test/standalone/gui/CMakeLists.txt b/test/standalone/gui/CMakeLists.txt index a0be3238..56190768 100644 --- a/test/standalone/gui/CMakeLists.txt +++ b/test/standalone/gui/CMakeLists.txt @@ -71,7 +71,8 @@ ADD_EXECUTABLE(paraLight ${pl_HEADERS_MOC} ${pl_FORMS_HEADERS} ${rcs_sources}) - -TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle) + +# RNV: ${vtkgl2ps_LIBRARIES} was added for Fedora 26 OS +TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle ${vtkgl2ps_LIBRARIES}) #INSTALL(TARGET paraLight bin) diff --git a/test/standalone/simple/CMakeLists.txt b/test/standalone/simple/CMakeLists.txt index 61c0fb8b..d74d98ad 100644 --- a/test/standalone/simple/CMakeLists.txt +++ b/test/standalone/simple/CMakeLists.txt @@ -32,5 +32,6 @@ INCLUDE_DIRECTORIES( ) ADD_EXECUTABLE(paraCmdLine ${pl_SOURCES}) -TARGET_LINK_LIBRARIES(paraCmdLine ${PYTHON_LIBRARIES} ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle) +# RNV: ${vtkgl2ps_LIBRARIES} was added for Fedora 26 OS +TARGET_LINK_LIBRARIES(paraCmdLine ${PYTHON_LIBRARIES} ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle ${vtkgl2ps_LIBRARIES})