]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix a problem with linking tests on Fedora 26 OS rnv/fedora26_link
authorSALOME <salome@opencascade.com>
Fri, 27 Apr 2018 14:52:08 +0000 (17:52 +0300)
committerSALOME <salome@opencascade.com>
Fri, 27 Apr 2018 14:55:12 +0000 (17:55 +0300)
src/Plugins/ParaMEDCorba/CMakeLists.txt
test/standalone/gui/CMakeLists.txt
test/standalone/simple/CMakeLists.txt

index 11ca52fa7011a9be3d705b9c65c7bd50d953aa3f..7728d30ff82e25be323dd83ed801b8ade1d1c651 100644 (file)
@@ -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)
index a0be32385b977791ad977c0592b390d5c2f64cfe..56190768ff251f33682e90c6b6763cb94f6ef5df 100644 (file)
@@ -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)
 
index 61c0fb8b05d93d08a8879d57ffe42dab8f6c7676..d74d98adf340f35885f13c0cf6fa1846414b2c4a 100644 (file)
@@ -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})